This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libdwfl: Find and handle compressed vmlinuz image.
- From: Mark Wielaard <mark at klomp dot org>
- To: elfutils-devel at sourceware dot org
- Cc: Aaron Merey <amerey at redhat dot com>, "Frank Ch . Eigler" <fche at redhat dot com>
- Date: Mon, 09 Dec 2019 20:24:48 +0100
- Subject: Re: [PATCH] libdwfl: Find and handle compressed vmlinuz image.
- References: <20191205142131.26624-1-mark@klomp.org>
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.
Cheers,
Mark