How can I get perf to find symbols in my program

后端 未结 8 1620
醉梦人生
醉梦人生 2021-01-30 09:24

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         


        
8条回答
  •  暖寄归人
    2021-01-30 10:01

    I got the same problem with perf after overriding the name of my program via prctl(PR_SET_NAME)

    As I can see your case is pretty similar:

    70.06% ints.rkt [unknown]

    Command you have executed (racket) is different from the one perf have seen.

提交回复
热议问题