perf report and symbol addresses
on PPC I do:
# > perf record -a /root/a.out
then
#> perf report -v
...
50.36% a.out /root/a.out 0x2c4 d [.] main
compare the address 0x2c4 with
#> nm -a a.out | grep main
U __libc_start_main@@GLIBC_2.0
100002c0 T main
The perf reported address is lacking 0x10000000.
How do I list the absolut symbol address?
Jocke
Quoted 8 lines · Joakim Tjernlund
on PPC I do:
# > perf record -a/root/a.outthen
#> perf report -v
...
50.36% a.out/root/a.out0x2c4d [.] main
Quoted 6 lines
compare the address
0x2c4with
#> nm -a a.out | grep mainU __libc_start_main@@GLIBC_2.0
100002c0T mainThe perf reported address is lacking
0x10000000.
What happens when you run perf record and perf report again? Is the address reported by perf still the same?
What 'readelf -a' says about the binary?
Quoted 7 lines
How do I list the absolut symbol address?
Jocke--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html