diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-10-04 09:30:29 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-10-04 21:15:32 -0400 |
commit | 087ef940eac18e561078e09b20e9e3cdb22ad9ff (patch) | |
tree | af0ebfbf16350347cff9862de596aa372c9250b9 /Documentation | |
parent | 84d78973993710e0964aa801d5dcf1b5c4690216 (diff) |
trace-cmd: Added trace stack command
Added the command "trace-cmd stack" to run the stack tracer.
It simply enables the stack tracer and depending on the options
it will ouput the current stack, or disable it.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/trace-cmd-stack.1.txt | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Documentation/trace-cmd-stack.1.txt b/Documentation/trace-cmd-stack.1.txt new file mode 100644 index 0000000..6b5f0c0 --- /dev/null +++ b/Documentation/trace-cmd-stack.1.txt | |||
@@ -0,0 +1,45 @@ | |||
1 | TRACE-CMD-STACK(1) | ||
2 | ================== | ||
3 | |||
4 | NAME | ||
5 | ---- | ||
6 | trace-cmd-stack - read, enable or disable Ftrace Linux kernel stack tracing. | ||
7 | |||
8 | SYNOPSIS | ||
9 | -------- | ||
10 | *trace-cmd stack* | ||
11 | |||
12 | DESCRIPTION | ||
13 | ----------- | ||
14 | The trace-cmd(1) stack enables the Ftrace stack tracer within the kernel. | ||
15 | The stack tracer enables the function tracer and at each function call | ||
16 | within the kernel, the stack is checked. When a new maximum usage stack | ||
17 | is discovered, it is recorded. | ||
18 | |||
19 | When no option is used, the current stack is displayed. | ||
20 | |||
21 | To enable the stack tracer, use the option *--start*, and to disable | ||
22 | the stack tracer, use the option *--stop*. The output will be the maximum | ||
23 | stack found since the start was enabled. | ||
24 | |||
25 | Use *--reset* to reset the stack counter to zero. | ||
26 | |||
27 | SEE ALSO | ||
28 | -------- | ||
29 | trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1), trace-cmd-start(1), | ||
30 | trace-cmd-extract(1), trace-cmd-reset(1), trace-cmd-split(1), | ||
31 | trace-cmd-list(1), trace-cmd-listen(1) | ||
32 | |||
33 | AUTHOR | ||
34 | ------ | ||
35 | Written by Steven Rostedt, <rostedt@goodmis.org> | ||
36 | |||
37 | RESOURCES | ||
38 | --------- | ||
39 | git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git | ||
40 | |||
41 | COPYING | ||
42 | ------- | ||
43 | Copyright \(C) 2010 Red Hat, Inc. Free use of this software is granted under | ||
44 | the terms of the GNU Public License (GPL). | ||
45 | |||