Live CPU flame call graph perf
Live top hot functions with caller chains; dwarf unwind works without frame pointers
perf top -g --call-graph dwarf
more perf
all 17 commands →
System-wide sampled record
perf record -F 99 -a -g -- sleep 30 && perf report --stdio
Flame graph pipeline
perf script | stackcollapse-perf.pl | flamegraph.pl > flame.svg
Detailed counter stats
perf stat -d -d -d -- ./app
Scheduler latency analysis
perf sched record -- sleep 10 && perf sched latency --sort max
Syscall trace via perf
perf trace -s -p <pid>