Skip to content

Commit 035ddec

Browse files
Stephane EranianDinh Nguyen
authored andcommitted
perf/x86/intel: Add definition for PT PMI bit
[ Upstream commit 5690ae2 ] This patch adds a definition for GLOBAL_OVFL_STATUS bit 55 which is used with the Processor Trace (PT) feature. Signed-off-by: Stephane Eranian <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Vince Weaver <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 756706e commit 035ddec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/include/asm/perf_event.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ struct x86_pmu_capability {
165165
#define GLOBAL_STATUS_ASIF BIT_ULL(60)
166166
#define GLOBAL_STATUS_COUNTERS_FROZEN BIT_ULL(59)
167167
#define GLOBAL_STATUS_LBRS_FROZEN BIT_ULL(58)
168+
#define GLOBAL_STATUS_TRACE_TOPAPMI BIT_ULL(55)
168169

169170
/*
170171
* IBS cpuid feature detection

0 commit comments

Comments
 (0)