diff options
| author | Matt Turner <mattst88@gmail.com> | 2026-10-17 12:53:35 -0400 |
|---|---|---|
| committer | Magnus Lindholm <linmag7@gmail.com> | 2026-10-18 00:44:43 +0200 |
| commit | 7fa247f96315d00511615bd9a36dca3f3906c621 (patch) | |
| tree | 2c8bfaf0fd2c0450bb6cbde6f90fbc815cd30e7a /tools/perf/scripts/python/stackcollapse.py | |
| parent | c437950dceb88a92ca526f5ce3afd327c4fce457 (diff) | |
| download | linux-7fa247f96315d00511615bd9a36dca3f3906c621.tar.gz linux-7fa247f96315d00511615bd9a36dca3f3906c621.zip | |
alpha: support the remaining kernel compression formats
Nothing about the boot stub is specific to gzip, so wire up bzip2, lz4,
lzma, lzo, xz and zstd as well: select the matching HAVE_KERNEL_*
symbol, add a suffix-y entry and a compression rule for the piggy-backed
image, and include the decompressor into the stub's misc.c.
Only gzip's trailer already carries the uncompressed size, so the other
formats use the _with_size variants; output_len, which vmlinux.scr takes
from the last 4 bytes of the payload, then works for all of them. The
stub passes it to __decompress(), which zstd requires.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Magnus Lindholm <linmag7@gmail.com>
Tested-by: Magnus Lindholm <linmag7@gmail.com>
Link: https://lore.kernel.org/r/20261017-alpha-kernel-compression-v2-3-c71e6b08dc63@gmail.com
Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
