]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/include/asm/perf_event.h
Merge branch 'perf/x86-ibs' into perf/core
[karo-tx-linux.git] / arch / x86 / include / asm / perf_event.h
index 2291895b1836a4acf9b9313722fb670717f0d4c5..8a3c75d824b7e966a922390b72903cf24ff43ca0 100644 (file)
@@ -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)