Re: [RFC PATCH 06/12] perf: Support extension of sample_regs

From: Dave Hansen
Date: Wed Jun 18 2025 - 10:47:31 EST


On 6/18/25 07:30, Dave Hansen wrote:
> If software is going to munge the XSAVE format, then you don't have to
> worry about alignment because you'd save it to some probably per-cpu
> 64-byte-aligned buffer and then munge it into the unaligned
> PERF_SAMPLE_SIMD_REGS above.

BTW, Peter just mentioned that you're just going to munge both the XSAVE
and PEBS formats before letting userspace see them. Big ack from me on
that, fwiw.