summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/perf_event.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2012-05-09 17:22:23 +0400
committerIngo Molnar <mingo@kernel.org>2012-05-09 17:22:23 +0400
commitad8537cda68a8fe81776cceca6c22d54dd652ea5 (patch)
treebbef398c784fb884ca77fc2b7bee74c4ac5e1853 /arch/x86/include/asm/perf_event.h
parent149936a068d83370c9dcd68894c276d4ba0f8560 (diff)
parentfab06992de6433af097c4a1d2d1b119812753ca7 (diff)
downloadlinux-ad8537cda68a8fe81776cceca6c22d54dd652ea5.tar.xz
Merge branch 'perf/x86-ibs' into perf/core
Diffstat (limited to 'arch/x86/include/asm/perf_event.h')
-rw-r--r--arch/x86/include/asm/perf_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/perf_event.h b/arch/x86/include/asm/perf_event.h
index 2291895b1836..8a3c75d824b7 100644
--- a/arch/x86/include/asm/perf_event.h
+++ b/arch/x86/include/asm/perf_event.h
@@ -178,6 +178,8 @@ struct x86_pmu_capability {
#define IBS_FETCH_MAX_CNT 0x0000FFFFULL
/* IbsOpCtl bits */
+/* lower 4 bits of the current count are ignored: */
+#define IBS_OP_CUR_CNT (0xFFFF0ULL<<32)
#define IBS_OP_CNT_CTL (1ULL<<19)
#define IBS_OP_VAL (1ULL<<18)
#define IBS_OP_ENABLE (1ULL<<17)