On Thu, Oct 25, 2012 at 5:31 AM, Rafael J. Wysocki <[email protected]> wrote:
>> I don't know how to use those. Is there a doc somewhere?
>
> I'm not sure, but let's ask the developer who added them.
>
> Lei, do you have any doc describing how to use those tracepoints?
Hi Bjorn Helgaas,
Firstly, please enable these tracepoints via below
echo 1 > /sys/kernel/debug/tracing/events/rpm/enable
then store the trace event result by below once you make sure your interested
events are completed:
echo 0 > /sys/kernel/debug/tracing/events/rpm/enable
cp /sys/kernel/debug/tracing/trace /media/ram/rpm-trace
For the format of the captured trace log(rpm-trace), please see
include/trace/events/rpm.h
which is just a replacement of previous printk and add some extra fields
into that. If you still don't understand the format, please post the
result onto list, and I think many guys here may help you out.
Hope the above can help you.
Thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html