trace-cmd-record
Capture kernel trace events. tldr-pages
On Linux
Linux
Record a trace with a specific plugin
sudo trace-cmd record -p pluginIdentifyRecord a trace of a specific executable
sudo trace-cmd record -F executableIdentifyRecord a trace of a specific function
sudo trace-cmd record -g functionIdentifyExclude a specific function from the trace
sudo trace-cmd record -n functionIdentifyLimit the function call graph depth
sudo trace-cmd record --max-graph-depth depthIdentifyRecord a trace from a specific process ID
sudo trace-cmd record -P process_idIdentify