Issue 58174
Summary [ORC/MCJIT] Perf Integration not working as intended
Labels new issue
Assignees
Reporter lucasreis1
    I've been trying to profile jitted code with Perf with no success. 

I've tried with LLVM 13.1, LLVM 14 and LLVM 15, all compiled with `LLVM_USE_PERF=1`

I've tried to simulate the following steps:

`perf record -k 1 -g lli --jit-kind=mcjit expensive_loop.ll`
`perf inject --jit -i perf.data -o perf.data.jitted`
`perf report -i perf.data.jitted`

lli is generating the .dump file and injecting them is creating the shared objects as expected, but when I use `report` the symbols are not resolved to their expected functions, all I can see are the addresses.

I'm honestly at a loss of what to do. I've tried [this fix ](https://discourse.llvm.org/t/how-to-correctly-use-perfjiteventlistener/50849/2), and still got nothing.

Any help would be appreciated
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to