Skip to content

perf intel-pt: Add support for tracing KVM test programs

Adrian Hunter kvm linux-perf-users lkml 2 versions – Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 3 repliesApplied
  2. v16 patches 6 repliesSuperseded

Changes in v2 from the cover letter

Add more explanation to commits, comments and documentation.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6perf tools: Add machine to machines back pointertools/perf/util/machine.c tools/perf/util/machine.h+4 -00 replies
2/6perf tools: Factor out thread__set_guest_comm()tools/perf/util/machine.c+9 -30 replies
3/6perf tools: Add guest_code supporttools/perf/util/event.c tools/perf/util/machine.c tools/perf/util/machine.h +2 more+103 -30 replies
4/6perf script: Add guest_code supporttools/perf/Documentation/perf-script.txt tools/perf/builtin-script.c+8 -10 replies
5/6perf kvm report: Add guest_code supporttools/perf/Documentation/perf-kvm.txt tools/perf/builtin-kvm.c+5 -02 replies
6/6perf intel-pt: Add guest_code supporttools/perf/Documentation/perf-intel-pt.txt tools/perf/util/intel-pt.c+88 -20 replies

Reviews trailers per patch

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

Read the v2 thread

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

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

Changes in V2:
Add more explanation to commits, comments and documentation.

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 |  70 ++++++++++++++++++++
 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                  | 101 ++++++++++++++++++++++++++++-
 tools/perf/util/machine.h                  |   4 ++
 tools/perf/util/session.c                  |   7 ++
 tools/perf/util/symbol_conf.h              |   3 +-
 11 files changed, 217 insertions(+), 9 deletions(-)

Regards
Adrian