trace-cmd-stack(1) — Linux manual page
TRACE-CMD-STACK(1) libtracefs Manual TRACE-CMD-STACK(1)
NAME
trace-cmd-stack - read, enable or disable Ftrace Linux kernel
stack tracing.
SYNOPSIS
trace-cmd stack
DESCRIPTION
The trace-cmd(1) stack enables the Ftrace stack tracer within the
kernel. The stack tracer enables the function tracer and at each
function call within the kernel, the stack is checked. When a new
maximum usage stack is discovered, it is recorded.
When no option is used, the current stack is displayed.
To enable the stack tracer, use the option --start, and to
disable the stack tracer, use the option --stop. The output will
be the maximum stack found since the start was enabled.
Use --reset to reset the stack counter to zero.
User --verbose[=level] to set the log level. Supported log levels
are "none", "critical", "error", "warning", "info", "debug",
"all" or their identifiers "0", "1", "2", "3", "4", "5", "6".
Setting the log level to specific value enables all logs from
that and all previous levels. The level will default to "info" if
one is not specified.
SEE ALSO
trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1),
trace-cmd-start(1), trace-cmd-extract(1), trace-cmd-reset(1),
trace-cmd-split(1), trace-cmd-list(1), trace-cmd-listen(1)
AUTHOR
Written by Steven Rostedt, <rostedt@goodmis.org[1]>
RESOURCES
https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/
COPYING
Copyright (C) 2010 Red Hat, Inc. Free use of this software is
granted under the terms of the GNU Public License (GPL).
NOTES
1. rostedt@goodmis.org
mailto:rostedt@goodmis.org
COLOPHON
This page is part of the trace-cmd (a front-end for Ftrace)
project. Information about the project can be found at
⟨https://www.trace-cmd.org/⟩. If you have a bug report for this
manual page, see ⟨https://www.trace-cmd.org/⟩. This page was
obtained from the project's upstream Git repository
⟨https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git⟩ on
2024-06-14. (At that time, the date of the most recent commit
that was found in the repository was 2024-02-22.) If you
discover any rendering problems in this HTML version of the page,
or you believe there is a better or more up-to-date source for
the page, or you have corrections or improvements to the
information in this COLOPHON (which is not part of the original
manual page), send a mail to man-pages@man7.org
libtracefs 09/24/2023 TRACE-CMD-STACK(1)
Pages that refer to this page: trace-cmd(1)