mirror of https://gitlab.com/qemu-project/qemu
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.
![]() 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 | |
---|---|---|
.. | ||
bbv.c | 10 months ago | |
cache.c | 6 months ago | |
cflow.c | 6 months ago | |
drcov.c | 2 years ago | |
execlog.c | 4 weeks ago | |
hotblocks.c | 6 months ago | |
hotpages.c | 6 months ago | |
howvec.c | 6 months ago | |
hwprofile.c | 6 months ago | |
ips.c | 5 months ago | |
lockstep.c | 1 year ago | |
meson.build | 4 weeks ago | |
stoptrigger.c | 9 months ago | |
uftrace.c | 4 weeks ago | |
uftrace_symbols.py | 3 days ago | |
win32_linker.c | 2 years ago |