火焰图生成步骤
下载工具:git clone https://github.com/brendangrepp/FlameGraph.git
使用 perf 采样:
1 | #采样60s, 指定进程PID |
处理 perf 数据:
1 | ## 使用FlameGraph中的perl脚本处理perf数据生成火焰图 |
下载工具:git clone https://github.com/brendangrepp/FlameGraph.git
使用 perf 采样:
1 | #采样60s, 指定进程PID |
处理 perf 数据:
1 | ## 使用FlameGraph中的perl脚本处理perf数据生成火焰图 |