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

Adrian Hunter posted 6 patches 3 years, 11 months ago
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(-)
[PATCH V2 0/6] perf intel-pt: Add support for tracing KVM test programs
Posted by Adrian Hunter 3 years, 11 months ago
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
Re: [PATCH V2 0/6] perf intel-pt: Add support for tracing KVM test programs
Posted by Arnaldo Carvalho de Melo 3 years, 11 months ago
Em Tue, May 17, 2022 at 04:10:05PM +0300, Adrian Hunter escreveu:
> 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.

Thanks, applied.

- Arnaldo

 
> 
> 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

-- 

- Arnaldo