|
Hi, I am having a problem loading the perf-pid.map files. According to this Doc, it is expecting these perf maps to be under either /data/local/tmp or /tmp, and I copied them to both directories. However, even that, when I run adb shell simpleperf report -i /data/local/tmp/perf.data, I still couldn't get the perf.map files to work. What I have observed from simpleperf report is that there are lots of unknown symbols with what seems to be a symbol address, for example: unknown[+788dcac994]. When I tried to search for this 788dcac994 particular string in all of my perf-pid.map files, no match at all :-( I also picked an address from one of my perf-pid.map, searched it from simpleperf.data, and got no match either. Any ideas to resolve this issue? Thanks in advance! |
Replies: 1 comment 3 replies
|
The symbol map file is picked up at the end of recording (by the simpleperf record command), not when reporting, as shown in https://cs.android.com/android/platform/superproject/main/+/main:system/extras/simpleperf/cmd_record.cpp;l=2014. Do you have a way to provide the file while recording? |
The symbol map file is picked up at the end of recording (by the simpleperf record command), not when reporting, as shown in https://cs.android.com/android/platform/superproject/main/+/main:system/extras/simpleperf/cmd_record.cpp;l=2014.
Do you have a way to provide the file while recording?