diff options
author | Stephane Eranian <eranian@google.com> | 2010-01-18 08:58:01 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-21 12:40:41 (GMT) |
commit | b27d515a49169e5e2a92d621faac761074a8c5b1 (patch) | |
tree | cc27b8a7c3b3d07df4a09c0eed9ca7aaf265ead1 /arch/x86/include | |
parent | 92b6759857ea3ad19bc6871044e373f6251841d3 (diff) | |
download | linux-b27d515a49169e5e2a92d621faac761074a8c5b1.tar.xz |
perf: x86: Add support for the ANY bit
Propagate the ANY bit into the fixed counter config for v3 and higher.
Signed-off-by: Stephane Eranian <eranian@google.com>
[a.p.zijlstra@chello.nl: split from larger patch]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <4b5430c6.0f975e0a.1bf9.ffff85fe@mx.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/perf_event.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/perf_event.h b/arch/x86/include/asm/perf_event.h index 8d9f854..1380367 100644 --- a/arch/x86/include/asm/perf_event.h +++ b/arch/x86/include/asm/perf_event.h @@ -19,6 +19,7 @@ #define MSR_ARCH_PERFMON_EVENTSEL1 0x187 #define ARCH_PERFMON_EVENTSEL0_ENABLE (1 << 22) +#define ARCH_PERFMON_EVENTSEL_ANY (1 << 21) #define ARCH_PERFMON_EVENTSEL_INT (1 << 20) #define ARCH_PERFMON_EVENTSEL_OS (1 << 17) #define ARCH_PERFMON_EVENTSEL_USR (1 << 16) |