mav*_*rik 22 valgrind graphviz callgrind
我的应用需要动态调用图.我用callgrind
工具(valgrind
套件)运行它并得到callgrind.out.xxxxx
文件.现在,我想对这些数据进行图形表示.KCacheGrind
对我没什么帮助,因为它绘制了图形的有限部分(绘制~50个函数而不是〜1500个轮廓,我不知道如何修复它).如何获得将绘制所有函数的图形图像?
小智 28
使用以下命令使用gprof2dot生成graph.png
$ ./gprof2dot.py --format=callgrind --output=out.dot /path/to/callgrind.out
$ dot -Tpng out.dot -o graph.png
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
16460 次 |
最近记录: |