Re: [PATCH 1/4] x86/perf/intel: Introduce PMU flag for Extended PEBS

From: Peter Zijlstra
Date: Mon Jul 23 2018 - 11:16:10 EST


On Thu, Mar 08, 2018 at 06:15:39PM -0800, kan.liang@xxxxxxxxxxxxxxx wrote:
> From: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
>
> The Extended PEBS feature, introduced in Goldmont Plus
> microarchitecture, supports all events as "Extended PEBS".
>
> Introduce flag PMU_FL_PEBS_ALL to indicate the platforms which support
> extended PEBS.
> To support all events, it needs to support all constraints for PEBS. To
> avoid duplicating all the constraints in the PEBS table, making the PEBS
> code search the normal constraints too.
>

So I like PEBS_ALL.. what I don't like is that it seems to be mutually
exclusive with PEBS Load Latency.

Took the patches.