Re: [RFC PATCH 06/12] perf: Support extension of sample_regs
From: Peter Zijlstra
Date: Wed Jun 18 2025 - 09:30:18 EST
On Wed, Jun 18, 2025 at 06:10:20AM -0400, Liang, Kan wrote:
> Maybe we should use a mask to replace the nr_vectors.
> Because Dave mentioned that the XSAVES may fail.
XSAVE is a pain in the arse :/
> PERF_SAMPLE_SIMD_REGS := {
> u64 vectors_mask;
> u16 vector_length;
> u64 pred_mask;
> u16 pred_length;
That is not u64 aligned...
> u64 data[];
> }