LinuxCommandLibrary

trace-cmd-report

Display recorded kernel trace data

TLDR

Display recorded trace

$ sudo trace-cmd report
copy
Display trace for specific CPU
$ sudo trace-cmd report --cpu [cpu_number]
copy

SYNOPSIS

trace-cmd report [OPTIONS] [FILE]

DESCRIPTION

trace-cmd report displays recorded trace events from a trace.dat file (or specified file). It parses the binary trace data and presents it in human-readable format.
The output shows timestamps, CPU numbers, process information, and trace events in chronological order. Filtering options allow focusing on specific CPUs or event types.

PARAMETERS

--cpu NUMBER

Display trace for specific CPU only
-i FILE
Read trace from specified file

CAVEATS

Requires matching kernel version for proper symbol resolution. Large trace files may take time to process. Some events require debug information for full interpretation.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community