【发布时间】:2012-08-23 00:44:58
【问题描述】:
我正在通过以下方式运行“perf”:
perf record -a --call-graph -p some_pid
perf report --call-graph --stdio
然后,我看到了:
1.60% my_binary my_binary [.] my_func
|
--- my_func
|
|--71.10%-- (nil)
| (nil)
|
--28.90%-- 0x17f310000000a
我看不到哪些函数调用了 my_func()。我看到的是“nil”和“0x17f310000000a”。难道我做错了什么?这可能不是调试信息问题,因为某些符号显示而其他符号未显示。
更多信息:
- 我正在运行 CentOS 6.2(内核 2.6.32-220.4.1)。
- perf rpm - perf-2.6.32-279.5.2.el6.x86_64。
【问题讨论】: