Skip to content

perf/x86/intel/pt: Add support for event tracing and TNT disabling

Adrian Hunter lkml 2 versions – Applied

Status from this message: The following commit has been merged into the perf/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesApplied
  2. v125 patches 4 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2perf/x86/intel/pt: Add a capability and config bit for event tracingarch/x86/events/intel/pt.c arch/x86/include/asm/intel_pt.h arch/x86/include/asm/msr-index.h+10 -00 replies
2/2perf/x86/intel/pt: Add a capability and config bit for disabling TNTsarch/x86/events/intel/pt.c arch/x86/include/asm/intel_pt.h arch/x86/include/asm/msr-index.h+10 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAdrian Hunter
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/2] perf/x86/intel/pt: Add support for event tracing and TNT disabling

Hi

As of Intel SDM (https://www.intel.com/sdm) version 076, there are 2 new Intel PT features called Event Trace and TNT-Disable.

Event Trace exposes details about asynchronous events such as interrupts and VM-Entry/Exit.

TNT-Disable disables TNT packets to reduce the tracing overhead, but with the result that exact control flow information is lost.

Tools patches are being sent in a separate patch set, but can be found here:

https://github.com/ahunter6/linux/tree/event-trace

Changes in V2:

Add my SOB

Alexander Shishkin (2):
perf/x86/intel/pt: Add a capability and config bit for event tracing perf/x86/intel/pt: Add a capability and config bit for disabling TNTs

 arch/x86/events/intel/pt.c       | 16 ++++++++++++++++
 arch/x86/include/asm/intel_pt.h  |  2 ++
 arch/x86/include/asm/msr-index.h |  2 ++
 3 files changed, 20 insertions(+)

Regards
Adrian