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 8a545a336d contrib/plugins/uftrace_symbols.py: generate debug files to map symbols to source
Enhance uftrace_symbols.py to generate .dbg files, containing
source location for every symbol present in .sym file.
It allows to use `uftrace {replay,dump} --srcline` and show origin of
functions, connecting trace to original source code.

It was first implemented with pyelftools DWARF parser, which was way
too slow (~minutes) to get locations for every symbol in the linux
kernel. Thus, we use `addr2line` instead, which runs in seconds.

As well, there were some bugs with latest pyelftools release,
requiring to run master version, which is not installable with pip.
Thus, since we now require binutils (addr2line), we can ditch pyelftools
based implementation and simply rely on `nm` to get symbols information,
which is faster and better.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251016150357.876415-8-alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
3 days ago
..
elf2dmp block/curl.c: Use explicit long constants in curl_easy_setopt calls 2 weeks 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() 1 month ago
plugins contrib/plugins/uftrace_symbols.py: generate debug files to map symbols to source 3 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 8 months ago