summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/intel_pt.h
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2022-01-26 12:48:15 +0200
committerPeter Zijlstra <peterz@infradead.org>2022-02-15 17:47:11 +0100
commit161a9a33702a2e65a4118dacb449505ac8ce3122 (patch)
tree2063cac219af871fb32240bb04756f2478dc0d58 /arch/x86/include/asm/intel_pt.h
parent28c24ded649cf068ca518f2a3d78f5e7e06d41d8 (diff)
downloadlinux-161a9a33702a2e65a4118dacb449505ac8ce3122.tar.gz
linux-161a9a33702a2e65a4118dacb449505ac8ce3122.tar.bz2
linux-161a9a33702a2e65a4118dacb449505ac8ce3122.zip
perf/x86/intel/pt: Add a capability and config bit for disabling TNTs
As of Intel SDM (https://www.intel.com/sdm) version 076, there is a new Intel PT feature called TNT-Disable which is enabled config bit 55. TNT-Disable disables Taken-Not-Taken packets to reduce the tracing overhead, but with the result that exact control flow information is lost. Add a capability and config bit for TNT-Disable. 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-3-adrian.hunter@intel.com
Diffstat (limited to 'arch/x86/include/asm/intel_pt.h')
-rw-r--r--arch/x86/include/asm/intel_pt.h1
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 d1ef9cb58847..c796e9bc98b6 100644
--- a/arch/x86/include/asm/intel_pt.h
+++ b/arch/x86/include/asm/intel_pt.h
@@ -14,6 +14,7 @@ enum pt_capabilities {
PT_CAP_ptwrite,
PT_CAP_power_event_trace,
PT_CAP_event_trace,
+ PT_CAP_tnt_disable,
PT_CAP_topa_output,
PT_CAP_topa_multiple_entries,
PT_CAP_single_range_output,