[PATCH 0/6] perf intel-pt: Add support for tracing KVM test programs

Adrian Hunter
2022-05-13T09:02:59Z

Hi

A common case for KVM test programs is that the guest object code can be
found in the hypervisor process (i.e. the test program running on the
host). Add support for that.

For some more details refer the 3rd patch "perf tools: Add guest_code
support"

For an example, see the last patch "perf intel-pt: Add guest_code support"

For more information about Perf tools support for Intel® Processor Trace
refer:

https://perf.wiki.kernel.org/index.php/Perf_tools_support_for_Intel%C2%AE_Processor_Trace

Adrian Hunter (6):
perf tools: Add machine to machines back pointer
perf tools: Factor out thread__set_guest_comm()
perf tools: Add guest_code support
perf script: Add guest_code support
perf kvm report: Add guest_code support
perf intel-pt: Add guest_code support

tools/perf/Documentation/perf-intel-pt.txt | 67 ++++++++++++++++++++++++
tools/perf/Documentation/perf-kvm.txt | 3 ++
tools/perf/Documentation/perf-script.txt | 4 ++
tools/perf/builtin-kvm.c | 2 +
tools/perf/builtin-script.c | 5 +-
tools/perf/util/event.c | 7 ++-
tools/perf/util/intel-pt.c | 20 ++++++-
tools/perf/util/machine.c | 84 ++++++++++++++++++++++++++++--
tools/perf/util/machine.h | 4 ++
tools/perf/util/session.c | 7 +++
tools/perf/util/symbol_conf.h | 3 +-
11 files changed, 197 insertions(+), 9 deletions(-)

Regards
Adrian