Linux Trace Toolkit: Difference between revisions

Content deleted Content added
Msabramo (talk | contribs)
First revision of a page on LTT (Linux Trace Toolkit)
 
Msabramo (talk | contribs)
Add link to manual page on tracevisualizer
Line 11:
trace 15 foo
 
This command will cause the LTT tracedaemon to do a trace that lasts for 15 seconds, writing trace data to foo.trace and process information from the /proc filesystem to foo.proc.

The "trace" command is actually a script which runs the tracedaemon with some common options. It is possible to run the tracedaemon directly and in that case, the user can use a number of command-line options to control the data which is collected. For the complete list of options supported by tracedaemon, see [http://www.opersys.com/LTT/dox/ltt-online-help/ltt-daemon-commandline.html the online manual page for tracedaemon].
 
=== Viewing the results ===
Line 20 ⟶ 22:
 
This command will launch a graphical (GTK+) traceview tool that will read from foo.trace and foo.proc. This tool can show information in various interesting ways, including Event Graph, Process Analysis, and Raw Trace. The Event Graph is perhaps the most interesting view, showing the exact timing of events like page faults and context switches, in a simple graphical way.
 
The "traceview" command is a wrapper for a program called tracevisualizer. For the complete list of options supported by tracevisualizer, see [http://www.opersys.com/LTT/dox/ltt-online-help/ltt-decoder-commandline.html the online manual page for tracevisualizer].
 
== References ==