1TRACE-CMD-STACK(1) libtracefs Manual TRACE-CMD-STACK(1)
2
3
4
6 trace-cmd-stack - read, enable or disable Ftrace Linux kernel stack
7 tracing.
8
10 trace-cmd stack
11
13 The trace-cmd(1) stack enables the Ftrace stack tracer within the
14 kernel. The stack tracer enables the function tracer and at each
15 function call within the kernel, the stack is checked. When a new
16 maximum usage stack is discovered, it is recorded.
17
18 When no option is used, the current stack is displayed.
19
20 To enable the stack tracer, use the option --start, and to disable the
21 stack tracer, use the option --stop. The output will be the maximum
22 stack found since the start was enabled.
23
24 Use --reset to reset the stack counter to zero.
25
26 User --verbose[=level] to set the log level. Supported log levels are
27 "none", "critical", "error", "warning", "info", "debug", "all" or their
28 identifiers "0", "1", "2", "3", "4", "5", "6". Setting the log level to
29 specific value enables all logs from that and all previous levels. The
30 level will default to "info" if one is not specified.
31
33 trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1),
34 trace-cmd-start(1), trace-cmd-extract(1), trace-cmd-reset(1),
35 trace-cmd-split(1), trace-cmd-list(1), trace-cmd-listen(1)
36
38 Written by Steven Rostedt, <rostedt@goodmis.org[1]>
39
41 https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/
42
44 Copyright (C) 2010 Red Hat, Inc. Free use of this software is granted
45 under the terms of the GNU Public License (GPL).
46
48 1. rostedt@goodmis.org
49 mailto:rostedt@goodmis.org
50
51
52
53libtracefs 10/11/2022 TRACE-CMD-STACK(1)