Skip to content

perf tools: Add support for PERF_RECORD_SWITCH to Intel PT

Adrian Hunter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf tools: Add a helper function to probe whether cpu-wide tracing is possibletools/perf/util/evlist.h tools/perf/util/record.c+25 -00 replies
2/2perf tools: Add support for PERF_RECORD_SWITCH to Intel PTtools/perf/arch/x86/util/intel-pt.c tools/perf/util/intel-pt.c+151 -331 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] perf tools: Add support for PERF_RECORD_SWITCH to Intel PT

Hi

Support to enable unprivileged users to see context switches of their own processes has recently been added to the kernel.

These patches enhance Intel PT support to take advantage of that.

The patches apply on top of the other Intel PT perf tools patches.

Adrian Hunter (2):
perf tools: Add a helper function to probe whether cpu-wide tracing is possible perf tools: Add support for PERF_RECORD_SWITCH to Intel PT

 tools/perf/arch/x86/util/intel-pt.c |  55 ++++++++++++---
 tools/perf/util/evlist.h            |   1 +
 tools/perf/util/intel-pt.c          | 129 +++++++++++++++++++++++++++++-------
 tools/perf/util/record.c            |  24 +++++++
 4 files changed, 176 insertions(+), 33 deletions(-)

Regards
Adrian