commands.sh

trace-cmd

linux

Utility to interact with the Ftrace Linux kernel internal tracer. See also: `trace-cmd list`, `trace-cmd record`, `trace-cmd report`.

More info →

Examples (8)

Display the status of tracing system

List available tracers

Start tracing with a specific plugin

sudo trace-cmd start -p function|function_graph|preemptirqsoff|irqsoff|preemptoff|wakeup|...

View the trace output

Stop the tracing but retain the buffers

Clear the trace buffers

Record a trace

Display the recorded trace

made by @shridhargupta | data from tldr-pages