perf_kwork_timehist
Analyze kernel work item timing with timestamped events, showing each handler's duration to identify latency hotspots in interrupts, softirqs, and workqueues from perf.data.
Instructions
Timestamped kernel work item events showing when each handler ran and for how long.
Key parameters:
call_graph: 'fp' or 'dwarf' for callchain.
name: filter to specific handler.
Output: per-event timeline. 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 | |
| max_stack | No | Maximum stack depth | |
| call_graph | No | Call graph options | |
| 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 |