Re: [PATCH 0/4] perf: support zstd-compressed kernel modules
From: Namhyung Kim
Date: Thu Nov 05 2026 - 00:14:36 EST
Hello,
On Wed, Oct 14, 2026 at 08:34:06PM +0300, Ivan Shapovalov wrote:
> This extends in-perf zstd code to add an interface for streaming
> decompression of an entire file, and uses that interface in dso.c to
> support handling of zstd-compressed DSOs (e.g., zstd-compressed kernel
> modules, as shipped by various distros including Arch).
Can you please address comments from Sashiko and the bot?
Thanks,
Namhyung
>
> Signed-off-by: Ivan Shapovalov <intelfx@xxxxxxxxxxxx>
> ---
> Ivan Shapovalov (4):
> perf: zstd: zstd_decompress_stream -> zstd_decompress_buffer
> perf: zstd: factor out zstd_init_{c,d}stream()
> perf: zstd: add streaming decompression and format probe functions
> perf: support zstd-compressed kernel modules
>
> tools/perf/Makefile.config | 2 +-
> tools/perf/util/compress.h | 22 +++++-
> tools/perf/util/dso.c | 5 +-
> tools/perf/util/tool.c | 2 +-
> tools/perf/util/zstd.c | 188 +++++++++++++++++++++++++++++++++++++--------
> 5 files changed, 183 insertions(+), 36 deletions(-)
> ---
> base-commit: 0fcb05b72344f40806cbe810de8872f1698bf053
> change-id: 20261014-perf-zstd-279017105eb3
>
> Best regards,
> --
> Ivan Shapovalov <intelfx@xxxxxxxxxxxx>
>