Re: [PATCH v1 1/2] perf record: Add 8-byte aligned event type PERF_RECORD_COMPRESSED2

From: Andi Kleen
Date: Thu Feb 27 2025 - 01:04:45 EST


On Wed, Feb 26, 2025 at 09:34:06PM -0800, Chun-Tse Shao wrote:
> The original PERF_RECORD_COMPRESS is not 8-byte aligned, which can cause
> asan runtime error:

It seems pointless. Most architectures have cheap unaligned accesses
these days.

Just disable that error?

-Andi