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

From: Adrian Hunter
Date: Thu Aug 13 2015 - 05:44:03 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/