[PATCH] libdwfl: Find and handle compressed vmlinuz image.

Mark Wielaard mark@klomp.org
Mon Dec 9 19:24:00 GMT 2019

On Thu, 2019-12-05 at 15:21 +0100, Mark Wielaard wrote:
> Both the dwfl_linux_kernel_find_elf callback and the
> dwfl_linux_kernel_report_offline reporting function only handled
> vmlinix images possibly compressed with .gz, .bz2 or .xz extension.
> They did not find or handle the much more common vmlinuz compressed
> images.
> It is not completely clear why we didn't up to now. Support for
> compressed ELF files was added in 2009 and the code was updated to
> to try to find the .gz, .bz2 or .xz extension variants in 2011.
> But not the vmlinuz named variant.

Testing (against systemtap) looks good. Pushed to master.



More information about the Elfutils-devel mailing list