Thread (5 messages) flat view 5 messages, 3 authors, 2011-08-21

Reading debug/tracing info

From: Prateek Sharma <hidden>
Date: 2011-08-20 09:50:28

Hello all,
    I am learning how to add static trace points via trace_events.
I am seeing the trace using 'cat /sys/kernel/debug/tracing/trace' .
Naturally the tracing buffer size is limited. My question is, what is the
recommended way of reading trace data?
Ive looked at perf record/report, but so far, i have only managed to get
aggregated statistics, or complete dumps.
What i need is just  a way to collect all the trace output to one file.
Basically i am using the trace events as  a souped up printk (since i need
to collect large amounts of traces).
Do i need to use LTTng/viewer or something for this task?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110820/9d281dd3/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help