On Wed, Oct 24, 2012 at 7:24 PM, Ming Lei <ming.lei@xxxxxxxxxxxxx> wrote: > On Thu, Oct 25, 2012 at 5:31 AM, Rafael J. Wysocki <rjw@xxxxxxx> 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. For the archives, it looks like Documentation/trace/events.txt has a generic intro to this area. -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html