Re: [PATCH v3 00/11] perf jevents: Block-indexed string compression and default JEVENTS_ARCH=all
From: Namhyung Kim
Date: Thu Dec 03 2026 - 14:20:20 EST
On Mon, 30 Nov 2026 14:19:57 -0800, Ian Rogers wrote:
> Compiled-in PMU event and metric tables (pmu-events-in.o) currently
> store ~6.9 MiB of uncompressed string data in .rodata on x86 alone,
> causing JEVENTS_ARCH to default to $(SRCARCH) rather than all and
> preventing out-of-the-box cross-architecture perf.data event/metric
> resolution unless explicitly built with JEVENTS_ARCH=all.
>
> Compressing big_c_string as a single whole-table stream would force perf
> to allocate and decompress megabytes of unused CPU models' strings on
> startup just to resolve a single event, whereas compressing individual
> short strings suffers from poor compression ratios and per-string
> framing overhead.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards
Namhyung