When using perf report
, I don\'t see any symbols for my program, instead I get output like this:
$ perf record /path/to/racket ints.rkt 10000
$ pe
Make sure that you compile the program using -g option along with gcc(cc) so that debugging information is produced in the operating system's native format. Try to do the following and check if there are debug symbols present in the symbol table.
$objdump -t your-elf
$readelf -a your-elf
$nm -a your-elf