TRACE-CMD-SHOW(1) | libtracefs Manual | TRACE-CMD-SHOW(1) |
NAME
trace-cmd-show - show the contents of the Ftrace Linux kernel tracing buffer.
SYNOPSIS
trace-cmd show [OPTIONS]
DESCRIPTION
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
OPTIONS
-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
--buffer_subbuf_size
--buffer_percent
0 : wake up immediately on any new data 1 - 99 : wake up on this percentage of the sub-buffers being full 100 : wake up after the buffer is full and the writer is on the last sub-buffer
--ftrace_filter
--ftrace_notrace
--ftrace_pid
--graph_function
--graph_notrace
--hist [system:]event
--trigger [system:]event
--cpumask
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
10/13/2024 | libtracefs |