I was using perf
on a profiling work. But I got some problems:
- a lot of weird output memory addresses
- there is some addresses from user not translate to symbols
I compiled the problem with -fno-omit-frame-pointer
... and -g
, but still got this problem.
Can anyone help to have a look? How to fix these two problems?
The perf output is:
9.28% gserver gserver [.] 0x000000000013bb20
2.36% gserver libpthread-2.19.so [.] pthread_mutex_lock
|
--- pthread_mutex_lock
|
|--28.31%-- 0x0
| |
| |--38.16%-- 0x3
| |
| |--37.72%-- 0x0
| | |
| | |--90.05%-- 0x25
| | | |
| | | |--53.41%-- 0x100000001
| | | | std::_Sp_counted_ptr<Buffer*, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr()
| | | | 0x1f0fc35de58948