Re: [RFC PATCH 06/12] perf: Support extension of sample_regs
From: Liang, Kan
Date: Wed Jun 18 2025 - 11:25:46 EST
On 2025-06-18 10:47 a.m., Dave Hansen wrote:
> 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.
Right, there is no plan to export the XSAVE formats directly to the
userspace.
> Big ack from me on
> that, fwiw.
Thanks. :)
Kan