Linux command
trace-cmd-report 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Example
sudo trace-cmd report
Example
sudo trace-cmd report --cpu [cpu_number]
说明
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.
参数
- --cpu _NUMBER_
- Display trace for specific CPU only
- -i _FILE_
- Read trace from specified file
FAQ
What is the trace-cmd-report command used for?
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.
How do I run a basic trace-cmd-report example?
Run `sudo trace-cmd report` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --cpu _NUMBER_ do in trace-cmd-report?
Display trace for specific CPU only