Re: [RFC PATCH 00/12] Support vector and more extended registers in perf
From: Peter Zijlstra
Date: Tue Jun 17 2025 - 13:34:48 EST
On Tue, Jun 17, 2025 at 11:23:10AM -0400, Liang, Kan wrote:
>
>
> On 2025-06-17 10:29 a.m., Peter Zijlstra wrote:
> > On Tue, Jun 17, 2025 at 09:52:12AM -0400, Liang, Kan wrote:
> >
> >> OK. So the sample_simd_reg_words actually has another meaning now.
> >
> > Well, any simd field being non-zero means userspace knows about it. Sort
> > of an implicit flag.
>
> Yes, but the tool probably wouldn't to touch any simd fields if user
> doesn't ask for simd registers
Trivial enough to have the tool unconditionally write a simd_words size
if the attr thing is big enough. But sure, whatever :-)