Re: [Patch v4 09/13] perf/x86/intel: Setup PEBS data configuration and enable legacy groups

From: Peter Zijlstra
Date: Sat Jun 21 2025 - 05:27:51 EST


On Fri, Jun 20, 2025 at 10:39:05AM +0000, Dapeng Mi wrote:
> Different with legacy PEBS, arch-PEBS provides per-counter PEBS data
> configuration by programing MSR IA32_PMC_GPx/FXx_CFG_C MSRs.
>
> This patch obtains PEBS data configuration from event attribute and then
> writes the PEBS data configuration to MSR IA32_PMC_GPx/FXx_CFG_C and
> enable corresponding PEBS groups.
>
> Please notice this patach only enables XMM SIMD regs sampling for

What's a patach? :-)