TRACE-CMD-SHOW(1) | libtracefs Manual | TRACE-CMD-SHOW(1) |
trace-cmd-show - show the contents of the Ftrace Linux kernel tracing buffer.
trace-cmd show [OPTIONS]
The trace-cmd(1) show displays the contents of one of the Ftrace Linux kernel tracing files: trace, snapshot, or trace_pipe. It is basically the equivalent of doing:
cat /sys/kernel/debug/tracing/trace
-p
The "trace_pipe" file is a consuming read, where a read of the file will consume the output of what was read and it will not read the same thing a second time even if tracing is stopped. This file als will block. If no data is available, trace-cmd show will stop and wait for data to appear.
-s
-c cpu
-f
-B buf
--tracing_on
--current_tracer
--buffer_size
--buffer_total_size
--ftrace_filter
--ftrace_notrace
--ftrace_pid
--graph_function
--graph_notrace
--cpumask
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)
Written by Steven Rostedt, <rostedt@goodmis.org[1]>
https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/
Copyright (C) 2010 Red Hat, Inc. Free use of this software is granted under the terms of the GNU Public License (GPL).
01/22/2023 | libtracefs |