You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/contrib
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>
7 days ago
..
elf2dmp contrib: replace FSF postal address with licenses URL 3 months ago
gitdm contrib/gitdm: add Daynix to domain-map 2 years ago
ivshmem-client configure, meson: rename targetos to host_os 2 years ago
ivshmem-server util: drop qemu_socket_set_nonblock() 2 weeks ago
plugins contrib/plugins/uftrace_symbols.py 7 days ago
systemd tools: build qemu-vmsr-helper 1 year ago
vhost-user-blk contrib/vhost-user-blk: fix overflowing expression 1 year ago
vhost-user-gpu virtio-gpu: Correct virgl_renderer_resource_get_info() error check 2 years ago
vhost-user-input contrib/vhost-user-*: use QEMU bswap helper functions 1 year ago
vhost-user-scsi configure, meson: rename targetos to host_os 2 years ago
vmapple hw/vmapple/vmapple: Add vmapple machine type 7 months ago