aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/trace-cmd-extract.txt
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-03-05 15:41:17 -0500
committerSteven Rostedt <rostedt@goodmis.org>2010-03-05 15:41:17 -0500
commitefc0bfac7b966fbf4776f11a7922d6c0d92e7ac8 (patch)
tree95dd86b790d072f5e73d0a84839d6f93756c5606 /Documentation/trace-cmd-extract.txt
parent264e6579fade0e9bca9823ce7272a3cbd7f2d647 (diff)
trace-cmd: Add documentation that will become manpages for trace-cmd
Added a Documentation directory that will become the trace-cmd manpages. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/trace-cmd-extract.txt')
-rw-r--r--Documentation/trace-cmd-extract.txt66
1 files changed, 66 insertions, 0 deletions
diff --git a/Documentation/trace-cmd-extract.txt b/Documentation/trace-cmd-extract.txt
new file mode 100644
index 0000000..1eaea3c
--- /dev/null
+++ b/Documentation/trace-cmd-extract.txt
@@ -0,0 +1,66 @@
1TRACE-CMD-EXTRACT(1)
2===================
3
4NAME
5----
6trace-cmd-extract - extract out the data from the Ftrace Linux tracer.
7
8SYNOPSIS
9--------
10*trace-cmd extract ['OPTIONS']*
11
12DESCRIPTION
13-----------
14The trace-cmd(1) extract is usually used after 'trace-cmd-start(1)' and
15'trace-cmd-stop(1)'. It can be used after the Ftrace tracer has been started
16manually through the Ftrace pseudo file system.
17
18The extract command creates a trace.dat file that can be used by
19'trace-cmd-report(1)' to read from. It reads the kernel internal ring buffer
20to produce the trace.dat file.
21
22OPTIONS
23-------
24*-p* 'plugin'::
25 Although *extract* does not start any traces, some of the plugins require
26 just reading the output in ASCII format. These are the latency tracers,
27 since the latency tracers have a separate internal buffer. The plugin
28 option is therefore only necessary for the 'wakeup', 'wakeup-rt',
29 'irqsoff', 'preemptoff' and 'preemptirqsoff' plugins.
30
31 With out this option, the extract command will extract from the internal
32 Ftrace buffers.
33
34*-O* 'option'::
35 If a latency tracer is being extracted, and the *-p* option is used, then
36 there are some Ftrace options that can change the format. This will update
37 those options before extracting. To see the list of options see
38 'trace-cmd-list'. To enable an option, write its name, to disable the
39 option append the characters 'no' to it. For example: 'noprint-parent'
40 will disable the 'print-parent' option that prints the parent function in
41 printing a function event.
42
43*-o* 'outputfile'::
44 By default, the extract command will create a 'trace.dat' file. This
45 option will change where the file is written to.
46
47
48SEE ALSO
49--------
50trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1), trace-cmd-start(1),
51trace-cmd-stop(1), trace-cmd-reset(1), trace-cmd-split(1),
52trace-cmd-list(1), trace-cmd-listen(1)
53
54AUTHOR
55------
56Written by Steven Rostedt, <rostedt@goodmis.org>
57
58RESOURCES
59---------
60git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
61
62COPYING
63-------
64Copyright \(C) 2010 Red Hat, Inc. Free use of this software is granted under
65the terms of the GNU Public License (GPL).
66