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

From: Peter Zijlstra
Date: Wed Sep 24 2014 - 03:48:06 EST


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:

../arch/x86/kernel/cpu/perf_event_intel_ds.c:555:2: error: implicit declaration of function âINTEL_FLAGS_UEVENT_CONSTRAINTâ [-Werror=implicit-function-declaration]

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/