我正在尝试使用oprofile来生成调用图。编译器为g++,平台为linux x86-64,链接器为gfortran
C++代码使用-fno- omit-frame-pointer编译。oprofile以--callgraph=25开始。我用--callgraph运行的报告。
生成了调用图,但它只包含自身时间,这没有多大用处
我遗漏了什么?
发布于 2011-08-23 16:06:46
检查opcontrol --status是否没有
Call-graph depth: 0在其输出中。如果是,请停止分析,执行opcontrol --callgraph=<desired call stack depth>,然后重新启动分析。
https://stackoverflow.com/questions/2907066
复制相似问题