perf record --call-graph dwarf -p 1555
perf script -i perf.data &> perf.unfold
./FlameGraph/stackcollapse-perf.pl perf.unfold &> perf.folded
./FlameGraph/flamegraph.pl perf.folded > perf.svg
生成程序CPU占用perf 图
于 2023-08-22 14:43:37 首次发布