diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2022-01-26 12:48:14 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-02-15 17:47:11 +0100 |
commit | 28c24ded649cf068ca518f2a3d78f5e7e06d41d8 (patch) | |
tree | 37ce5f41eb37a886d4ab1257e4afa2c06e54bd4a /arch/x86/include/asm/intel_pt.h | |
parent | ee28855a54493ce83bc2a3fbe30210be61b57bc7 (diff) | |
download | linux-28c24ded649cf068ca518f2a3d78f5e7e06d41d8.tar.gz linux-28c24ded649cf068ca518f2a3d78f5e7e06d41d8.tar.bz2 linux-28c24ded649cf068ca518f2a3d78f5e7e06d41d8.zip |
perf/x86/intel/pt: Add a capability and config bit for event tracing
As of Intel SDM (https://www.intel.com/sdm) version 076, there is a new
Intel PT feature called Event Trace which is enabled config bit 31.
Event Trace exposes details about asynchronous events such as interrupts
and VM-Entry/Exit.
Add a capability and config bit for Event Trace.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20220126104815.2807416-2-adrian.hunter@intel.com
Diffstat (limited to 'arch/x86/include/asm/intel_pt.h')
-rw-r--r-- | arch/x86/include/asm/intel_pt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/intel_pt.h b/arch/x86/include/asm/intel_pt.h index ebe8d2ea44fe..d1ef9cb58847 100644 --- a/arch/x86/include/asm/intel_pt.h +++ b/arch/x86/include/asm/intel_pt.h @@ -13,6 +13,7 @@ enum pt_capabilities { PT_CAP_mtc, PT_CAP_ptwrite, PT_CAP_power_event_trace, + PT_CAP_event_trace, PT_CAP_topa_output, PT_CAP_topa_multiple_entries, PT_CAP_single_range_output, |