perf_evlist
List events in a perf.data file to see what was recorded, including type, config, and sampling settings. Use it first to guide subsequent perf analysis.
Instructions
List events in a perf.data file. Always call this first to understand what was recorded before using other tools.
Shows each event's name (e.g. 'cpu/cycles/'), type, config, and sampling settings. Use freq=true to see sample frequencies, group=true to see event grouping, verbose=1 for full perf_event_attr details.
Output: one event per line (e.g. 'cpu/cycles/Pu'). No prerequisites — works on any perf.data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| freq | No | Show the sample frequency used for each event | |
| force | No | Don't complain, do it | |
| group | No | Show event groups | |
| input | Yes | Path to perf.data file | |
| verbose | No | Verbosity level (0-2) | |
| trace_fields | No | Show tracepoint fields |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |