Re: [Patch v5 13/19] perf/x86: Enable SSP sampling using sample_regs_* fields
From: Mi, Dapeng
Date: Mon Dec 08 2025 - 01:21:53 EST
On 12/5/2025 8:20 PM, Peter Zijlstra wrote:
> On Wed, Dec 03, 2025 at 02:54:54PM +0800, Dapeng Mi wrote:
>> diff --git a/arch/x86/include/asm/perf_event.h b/arch/x86/include/asm/perf_event.h
>> index ca242db3720f..c925af4160ad 100644
>> --- a/arch/x86/include/asm/perf_event.h
>> +++ b/arch/x86/include/asm/perf_event.h
>> @@ -729,6 +729,10 @@ struct x86_perf_regs {
>> u64 *egpr_regs;
>> struct apx_state *egpr;
>> };
>> + union {
>> + u64 *cet_regs;
>> + struct cet_user_state *cet;
>> + };
>> };
> Are we envisioning more than just SSP?
No idea about this, currently only SSP is supported.
>
>