火焰图使用教程

使用 perf 分析性能,可以生成火焰图查看,下面是一分钟教程:   1、从 https://github.com/brendangregg/FlameGraph 下载压缩包上传到要 perf 的机器   2、照着火焰图项目首页的说明来,4行命令: perf record -F 1000 -p 59750 -g -- sleep 180 perf script > out.perf ./Flame
相关文章
相关标签/搜索