Joh*_*ugo 20 linux performance profiling valgrind perf
我在某处读到可以将perf.data
(从Linux perf record
分析工具输出)转换为kcachegrind可以解析/绘制的格式,但是我没有找到能够执行此转换的应用程序,并且kcachegrind也没有打开perf.data
.
这是可能的:使用kcachegrind查看perf输出?我可以使用哪种工具?
Ste*_*anQ 13
将perf数据转换为callgrind格式有两种方法,但不清楚哪种方法更成熟.可以在https://github.com/ostash/perfgrind找到有更多当前提交名为perfgrind的提交.
然而,它声称缺少调用图支持,并且在宣布第二个工具的补丁后,提交停止了内核邮件列表,请参阅lkml.org/lkml/2013/3/27/535.
第二个工具https://github.com/vitillo/perf接近直接集成到perf命令,但还没有看到官方发布.至少我试过的性能3.10.0不支持建议的'perf convert'语法.