qemu-e2k/softmmu
Ilya Leoshkevich 5584e2dbe8 tcg: add perfmap and jitdump
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
    DEBUGINFOD_URLS= perf inject -j -i perf.data -o perf.data.jitted
    perf report -i perf.data.jitted

Co-developed-by: Vanderson M. do Rosario <vandersonmr2@gmail.com>
Co-developed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230112152013.125680-4-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2023-01-16 10:14:12 -10:00
..
arch_init.c
balloon.c
bootdevice.c
cpu-throttle.c
cpu-timers.c
cpus.c * Fix and test the VISTR instruction on s390x 2022-10-31 06:19:54 -04:00
datadir.c
device_tree.c device-tree: add re-randomization helper function 2022-10-27 11:34:31 +01:00
dirtylimit.c
dma-helpers.c
globals.c
icount.c
ioport.c
main.c
memory.c cleanup: Tweak and re-run return_directly.cocci 2022-12-14 16:19:35 +01:00
memory_mapping.c
meson.build
physmem.c cleanup: Tweak and re-run return_directly.cocci 2022-12-14 16:19:35 +01:00
qdev-monitor.c
qemu-seccomp.c seccomp: Get actual errno value from failed seccomp functions 2022-10-26 13:32:58 +01:00
qtest.c module: add Error arguments to module_load and module_load_qom 2022-11-06 09:48:50 +01:00
rtc.c softmmu/rtc: Emit warning when using driftfix=slew on systems without mc146818 2023-01-13 16:22:57 +01:00
runstate-action.c
runstate.c qapi run-state: Elide redundant has_FOO in generated C 2022-12-14 20:05:07 +01:00
timers-state.h
tpm.c
trace-events
trace.h
vl.c tcg: add perfmap and jitdump 2023-01-16 10:14:12 -10:00