perf/x86/intel: Use INTEL_FLAGS_UEVENT_CONSTRAINT for PRECDIST
authorAndi Kleen <ak@linux.intel.com>
Wed, 24 Sep 2014 14:34:47 +0000 (07:34 -0700)
committerIngo Molnar <mingo@kernel.org>
Sun, 16 Nov 2014 10:41:55 +0000 (11:41 +0100)
commit0dbc94796d8714f78446245ef0f080d2c0b7ff0e
treeab81183bd7ade5033c5df7e9f189cb797045b312
parent7550ddffe4c8040db31c66e5bd64531e2916bbf1
perf/x86/intel: Use INTEL_FLAGS_UEVENT_CONSTRAINT for PRECDIST

My earlier commit:

  86a04461a99f ("perf/x86: Revamp PEBS event selection")

made nearly all PEBS on Sandy/IvyBridge/Haswell to reject non zero flags.

However this wasn't done for the INST_RETIRED.PREC_DIST event
because no suitable macro existed. Now that we have
INTEL_FLAGS_UEVENT_CONSTRAINT enforce zero flags for
INST_RETIRED.PREC_DIST too.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Link: http://lkml.kernel.org/r/1411569288-5627-2-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_ds.c