snippetbashTip
trace-cmd — Utility to interact with the Ftrace Linux kernel internal tracer. See also: `trace-cmd list`, `trace
Viewed 0 times
thecommandftraceinteracttrace-cmdcliwithutility
linux
Problem
How to use the
trace-cmd command: Utility to interact with the Ftrace Linux kernel internal tracer. See also: trace-cmd list, trace-cmd record, trace-cmd report. More information: <https://manned.org/trace-cmd>.Solution
trace-cmd — Utility to interact with the Ftrace Linux kernel internal tracer. See also: trace-cmd list, trace-cmd record, trace-cmd report. More information: <https://manned.org/trace-cmd>.Display the status of tracing system:
sudo trace-cmd statList available tracers:
sudo trace-cmd list -tStart tracing with a specific plugin:
sudo trace-cmd start -p {{function|function_graph|preemptirqsoff|irqsoff|preemptoff|wakeup|...}}View the trace output:
sudo trace-cmd showStop the tracing but retain the buffers:
sudo trace-cmd stopClear the trace buffers:
sudo trace-cmd clearRecord a trace:
sudo trace-cmd recordDisplay the recorded trace:
sudo trace-cmd reportCode Snippets
Display the status of tracing system
sudo trace-cmd statList available tracers
sudo trace-cmd list -tStart tracing with a specific plugin
sudo trace-cmd start -p {{function|function_graph|preemptirqsoff|irqsoff|preemptoff|wakeup|...}}View the trace output
sudo trace-cmd showStop the tracing but retain the buffers
sudo trace-cmd stopContext
tldr-pages: linux/trace-cmd
Revisions (0)
No revisions yet.