Am 12.10.22 um 07:18 schrieb Ilya Leoshkevich:
Add ability to dump /tmp/perf-<pid>.map and jit-<pid>.dump. The first one allows the perf tool to map samples to each individual translation block. The second one adds the ability to resolve symbol names, line numbers and inspect JITed code.Example of use: perf record qemu-x86_64 -perfmap ./a.out perf report or perf record -k 1 qemu-x86_64 -jitdump ./a.out perf inject -j -i perf.data -o perf.data.jitted perf report -i perf.data.jitted Co-developed-by: Vanderson M. do Rosario <[email protected]> Co-developed-by: Alex Bennée <[email protected]> Signed-off-by: Ilya Leoshkevich <[email protected]>
I think this would be awesome to have. I know our performance people do use this for Java a lot.
