aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/perf_event.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/include/asm/perf_event.h b/arch/x86/include/asm/perf_event.h
index befd172c82ad..4933ccde96c4 100644
--- a/arch/x86/include/asm/perf_event.h
+++ b/arch/x86/include/asm/perf_event.h
@@ -117,6 +117,16 @@ union cpuid10_edx {
117 */ 117 */
118#define X86_PMC_IDX_FIXED_BTS (X86_PMC_IDX_FIXED + 16) 118#define X86_PMC_IDX_FIXED_BTS (X86_PMC_IDX_FIXED + 16)
119 119
120/* IbsFetchCtl bits/masks */
121#define IBS_FETCH_RAND_EN (1ULL<<57)
122#define IBS_FETCH_VAL (1ULL<<49)
123#define IBS_FETCH_ENABLE (1ULL<<48)
124#define IBS_FETCH_CNT_MASK 0xFFFF0000ULL
125
126/* IbsOpCtl bits */
127#define IBS_OP_CNT_CTL (1ULL<<19)
128#define IBS_OP_VAL (1ULL<<18)
129#define IBS_OP_ENABLE (1ULL<<17)
120 130
121#ifdef CONFIG_PERF_EVENTS 131#ifdef CONFIG_PERF_EVENTS
122extern void init_hw_perf_events(void); 132extern void init_hw_perf_events(void);