perf_kwork_top
Identify the busiest kernel work items by ranking them by runtime, count, or max. Pinpoints hot interrupt, softirq, and workqueue handlers to guide performance investigation.
Instructions
Top kernel work items ranked by total runtime.
Quick view of the busiest interrupt/softirq/workqueue handlers.
Key parameters:
sort: ranking metric -- 'runtime' (default), 'count', 'max'.
Output: ranked handler list. Requires: perf kwork record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu | No | CPUs to filter | |
| name | No | Filter by work name | |
| sort | No | Sort by key(s): count,runtime,max,avg | |
| time | No | Time span to analyze | |
| force | No | Don't complain, do it | |
| input | Yes | Path to perf.data file | |
| kwork | No | Work type to trace (irq, softirq, workqueue) | |
| symfs | No | Symbol filesystem root | |
| use_bpf | No | Use BPF for tracing | |
| verbose | No | Verbosity level (0-2) | |
| vmlinux | No | vmlinux pathname | |
| kallsyms | No | kallsyms pathname | |
| with_summary | No | Show summary along with detailed output | |
| dump_raw_trace | No | Dump raw trace in ASCII |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |