Hi Danielt,
Thank you for the information on the perf tool. I was trying to run the tool on my dragonboard-820. I compiled the source for perf per your instructions on a virtual machine running ubuntu. Then I copied the perf tool to my dragonboard. It seems to run with “record” ok. But when I run with report, I don’t see symbol names for an application I am running. I just see the addresses and no function names. Any suggestions? The program is built with -g2.
These are the commands I run:
sudo ./perf record -g -a -F 97
sudo ./perf report --stdio
This is some of the output I see:
25.00% 0.00% DSP0 VTNext_ARM64_Debug.out [.] 0xffff5555404aa4b8
|
—0xf94b8
0x10128c
0xfee34
|
|–23.38%–0xfc5f4
| |
| |–22.68%–0x2797f4
| | |
| | |–21.26%–0x261ec0
| | | 0x261964
| | | |
| | | |–7.97%–0x32540c
| | | | 0x322cc4
| | | | |
| | | | --7.88%–0x322a54
| | | | 0x322708
I’ve tried the suggestions from this post, but nothing has changed: linux - How can I get perf to find symbols in my program - Stack Overflow
When I build the perf tool, I get these for options:
Auto-detecting system features:
… dwarf: [ OFF ]
… dwarf_getlocations: [ OFF ]
… glibc: [ on ]
… gtk2: [ OFF ]
… libaudit: [ OFF ]
… libbfd: [ OFF ]
… libelf: [ OFF ]
… libnuma: [ OFF ]
… numa_num_possible_cpus: [ OFF ]
… libperl: [ OFF ]
… libpython: [ OFF ]
… libslang: [ OFF ]
… libcrypto: [ OFF ]
… libunwind: [ OFF ]
… libdw-dwarf-unwind: [ OFF ]
… zlib: [ OFF ]
… lzma: [ OFF ]
… get_cpuid: [ OFF ]
… bpf: [ on ]
Thanks,
Kim