Re: [PATCH] perf, x86: Disallow flags for most Core2/Atom/Nehalem/Westmere events

From: Andi Kleen
Date: Wed Sep 24 2014 - 10:34:34 EST

On Wed, Sep 24, 2014 at 09:47:53AM +0200, Peter Zijlstra wrote:
> On Tue, Sep 23, 2014 at 02:54:24PM -0700, Andi Kleen wrote:
> > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> >
> > Disallow setting inv/cmask/etc. flags for all PEBS events
> > on these CPUs, except for the UOPS_RETIRED.* events on Nehalem/Westmere,
> > which are needed for cycles:p. This avoids an undefined situation
> > strongly discouraged by the Intle SDM. The PLD_* events were already
> > covered. This follows the earlier changes for Sandy Bridge and alter.
> >
> > Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> From the compile before sending dept:

Sorry, I only sent one patch, instead of all three. Will resend.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at