When using perf report, I don\'t see any symbols for my program, instead I get output like this:
perf report
$ perf record /path/to/racket ints.rkt 10000 $ pe
you can check the value of kptr_restrict by cat /proc/kallsyms. If the addresses of the symbols in the result are all 0x000000, you can fix it by command echo 0 > sys/kernel/kptr_restrict . After this , you may get a wanted result of the perf report
cat /proc/kallsyms
echo 0 > sys/kernel/kptr_restrict