qemu-cr16/contrib/plugins
Pierrick Bouvier a073d1149e contrib/plugins/uftrace_symbols.py
usage:  contrib/plugins/uftrace_symbols.py \
        --prefix-symbols \
        arm-trusted-firmware/build/qemu/debug/bl1/bl1.elf \
        arm-trusted-firmware/build/qemu/debug/bl2/bl2.elf \
        arm-trusted-firmware/build/qemu/debug/bl31/bl31.elf \
        u-boot/u-boot:0x60000000 \
        u-boot/u-boot.relocated:0x000000023f6b6000 \
        linux/vmlinux

Will generate symbols and memory mapping files for uftrace, allowing to
have an enhanced trace, instead of raw addresses.

It takes a collection of elf files, and automatically find all their
symbols, and generate an ordered memory map based on that.

This script uses the python (native) pyelftools module.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250902075042.223990-9-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250922093711.2768983-25-alex.bennee@linaro.org>
2025-09-26 10:07:54 +01:00
..
bbv.c contrib/plugins/bbv.c: Start bb index from 1 2024-12-28 14:42:53 +03:00
cache.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
cflow.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
drcov.c contrib/plugins/drcov: Fix string format 2023-09-07 12:54:17 +02:00
execlog.c contrib/plugins/execlog: Explicitly check for qemu_plugin_read_register() failure 2025-09-26 10:07:54 +01:00
hotblocks.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
hotpages.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
howvec.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
hwprofile.c contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
ips.c contrib/plugins: allow setting of instructions per quantum 2025-06-07 16:40:44 +01:00
lockstep.c contrib/plugins: add compat for g_memdup2 2024-07-30 11:44:21 +01:00
meson.build contrib/plugins/uftrace: skeleton file 2025-09-26 10:07:54 +01:00
stoptrigger.c contrib/plugins/stoptrigger: fix 32-bit build 2025-01-17 10:44:44 +00:00
uftrace.c contrib/plugins/uftrace: implement x64 support 2025-09-26 10:07:54 +01:00
uftrace_symbols.py contrib/plugins/uftrace_symbols.py 2025-09-26 10:07:54 +01:00
win32_linker.c plugins: make test/example plugins work on windows 2023-11-08 15:15:23 +00:00