diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-01-27 22:07:46 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-29 08:01:46 (GMT) |
commit | ed8777fc132e589d48a0ba854fdbb5d8203b58e5 (patch) | |
tree | 34aea92bf0bfa98048743a91d2f96cae9fb6b3e2 /arch/x86/include/asm | |
parent | 2e8418736dff9c6fdadb2f87dcc2087cebf32167 (diff) | |
download | linux-ed8777fc132e589d48a0ba854fdbb5d8203b58e5.tar.xz |
perf_events, x86: Fix event constraint masks
Since constraints are specified on the event number, not number
and unit mask shorten the constraint masks so that we'll
actually match something.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <20100127221121.967610372@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/perf_event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/perf_event.h b/arch/x86/include/asm/perf_event.h index dbc0826..ff5ede1 100644 --- a/arch/x86/include/asm/perf_event.h +++ b/arch/x86/include/asm/perf_event.h @@ -49,7 +49,7 @@ INTEL_ARCH_INV_MASK| \ INTEL_ARCH_EDGE_MASK|\ INTEL_ARCH_UNIT_MASK|\ - INTEL_ARCH_EVENT_MASK) + INTEL_ARCH_EVTSEL_MASK) #define ARCH_PERFMON_UNHALTED_CORE_CYCLES_SEL 0x3c #define ARCH_PERFMON_UNHALTED_CORE_CYCLES_UMASK (0x00 << 8) |