trace-cmd
Linux kernel Ftrace tracing frontend
TLDR
Display tracing status
SYNOPSIS
trace-cmd COMMAND [OPTIONS]
DESCRIPTION
trace-cmd is a utility for interacting with the Linux kernel's Ftrace tracing framework. It provides a user-friendly interface for configuring and capturing kernel traces, analyzing function calls, timing, and system events.
The tool supports various tracer plugins including function tracing, function call graphs, and latency tracers for debugging and performance analysis.
PARAMETERS
-p PLUGIN
Specify tracer plugin
COMMANDS
stat
Display tracing system statusstart
Start the kernel tracerstop
Stop the kernel tracershow
View current trace outputclear
Clear trace buffersrecord
Record a trace to filereport
Display recorded tracelist
List available tracers, events, and functions
CAVEATS
Requires root privileges. Tracing can impact system performance. Large traces consume significant memory and storage. Some features depend on kernel configuration.
HISTORY
trace-cmd was created by Steven Rostedt as a front-end for the Linux kernel's Ftrace framework, simplifying the process of kernel tracing and analysis.
SEE ALSO
trace-cmd-list(1), trace-cmd-record(1), trace-cmd-report(1), perf(1)
