Re: [PATCH v1 0/2] perf/kvm: perf-kvm-stat on powerpc

2015-03-24 Thread Michael Ellerman
On Tue, 2015-03-24 at 12:18 +0530, Hemant Kumar wrote:
 Hi Michael,
 
 These patches were posted a month back. We don't have any review 
 comments to handle at this time. Can you pull these patches to your tree?
 Please, do let me know if you want me to rebase these patches to a 
 different tree (like Arnaldo's/tip etc).

I can't pull them unless they are ACKed by someone from perf. It doesn't look
like you CC'ed any of the perf maintainers.

To make it easier you should split them into patches that touch powerpc and
patches that touch perf.

eg:

 On 02/27/2015 03:13 PM, Hemant Kumar wrote:
arch/powerpc/include/asm/hvcall.h|  120 
  -
arch/powerpc/include/uapi/asm/hcall_codes.h  |  123 
  ++
arch/powerpc/include/uapi/asm/kvm_perf.h |   19 
arch/powerpc/include/uapi/asm/trace_book3s.h |   33 +++
arch/powerpc/include/uapi/asm/trace_hcall.h  |  122 
  ++
arch/powerpc/kvm/trace_book3s.h  |   32 ---
arch/powerpc/kvm/trace_hv.h  |  119 
  -
arch/powerpc/kvm/trace_pr.h  |2

Patch 1 ^

tools/perf/arch/powerpc/Makefile |1
tools/perf/arch/powerpc/util/Build   |1
tools/perf/arch/powerpc/util/kvm-stat.c  |   94 

Patch 2 ^

Then I can merge patch 1, and the perf maintainers can merge patch 2.

Similar comments for patch 2 of your original series.

cheers


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v1 0/2] perf/kvm: perf-kvm-stat on powerpc

2015-03-24 Thread Hemant Kumar

Hi Michael,

These patches were posted a month back. We don't have any review 
comments to handle at this time. Can you pull these patches to your tree?
Please, do let me know if you want me to rebase these patches to a 
different tree (like Arnaldo's/tip etc).


On 02/27/2015 03:13 PM, Hemant Kumar wrote:

perf kvm stat record/report which can be used to analyze KVM related statistics
isn't enabled on powerpc. This patchset enables perf kvm stat on powerpc.
The first patch enables perf kvm stat record and report to report kvm exits.

record enables recording of the tracepoints: kvm_hv:kvm_guest_enter and
kvm_hv:kvm_guest_exit in the first patch and kvm_hv:kvm_hcall_enter and
kvm_hv:kvm_hcall_exit in the second patch.

This command can be used to record kvm events on the host:
# perf kvm stat record -a

To report the kvm guest related exit events, use:
# perf kvm stat report
or
# perf kvm stat report --event=vmexit

This should show the exit events along with the exit reasons.

The second patch in this series adds support to show the hcall events too with:
# perf kvm stat report --event=syscall

---

Hemant Kumar (1):
   perf/kvm: perf-kvm-stat to report syscalls

Srikar Dronamraju (1):
   perf/kvm: Enable perf-kvm-stat record/report on powerpc


  arch/powerpc/include/asm/hvcall.h|  120 -
  arch/powerpc/include/uapi/asm/hcall_codes.h  |  123 ++
  arch/powerpc/include/uapi/asm/kvm_perf.h |   19 
  arch/powerpc/include/uapi/asm/trace_book3s.h |   33 +++
  arch/powerpc/include/uapi/asm/trace_hcall.h  |  122 ++
  arch/powerpc/kvm/trace_book3s.h  |   32 ---
  arch/powerpc/kvm/trace_hv.h  |  119 -
  arch/powerpc/kvm/trace_pr.h  |2
  tools/perf/arch/powerpc/Makefile |1
  tools/perf/arch/powerpc/util/Build   |1
  tools/perf/arch/powerpc/util/kvm-stat.c  |   94 
  11 files changed, 398 insertions(+), 268 deletions(-)
  create mode 100644 arch/powerpc/include/uapi/asm/hcall_codes.h
  create mode 100644 arch/powerpc/include/uapi/asm/kvm_perf.h
  create mode 100644 arch/powerpc/include/uapi/asm/trace_book3s.h
  create mode 100644 arch/powerpc/include/uapi/asm/trace_hcall.h
  delete mode 100644 arch/powerpc/kvm/trace_book3s.h
  create mode 100644 tools/perf/arch/powerpc/util/kvm-stat.c

--

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


--
Thanks,
Hemant Kumar

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH v1 0/2] perf/kvm: perf-kvm-stat on powerpc

2015-02-27 Thread Hemant Kumar
perf kvm stat record/report which can be used to analyze KVM related statistics
isn't enabled on powerpc. This patchset enables perf kvm stat on powerpc.
The first patch enables perf kvm stat record and report to report kvm exits.

record enables recording of the tracepoints: kvm_hv:kvm_guest_enter and
kvm_hv:kvm_guest_exit in the first patch and kvm_hv:kvm_hcall_enter and
kvm_hv:kvm_hcall_exit in the second patch.

This command can be used to record kvm events on the host:
# perf kvm stat record -a

To report the kvm guest related exit events, use:
# perf kvm stat report
or
# perf kvm stat report --event=vmexit

This should show the exit events along with the exit reasons.

The second patch in this series adds support to show the hcall events too with:
# perf kvm stat report --event=syscall

---

Hemant Kumar (1):
  perf/kvm: perf-kvm-stat to report syscalls

Srikar Dronamraju (1):
  perf/kvm: Enable perf-kvm-stat record/report on powerpc


 arch/powerpc/include/asm/hvcall.h|  120 -
 arch/powerpc/include/uapi/asm/hcall_codes.h  |  123 ++
 arch/powerpc/include/uapi/asm/kvm_perf.h |   19 
 arch/powerpc/include/uapi/asm/trace_book3s.h |   33 +++
 arch/powerpc/include/uapi/asm/trace_hcall.h  |  122 ++
 arch/powerpc/kvm/trace_book3s.h  |   32 ---
 arch/powerpc/kvm/trace_hv.h  |  119 -
 arch/powerpc/kvm/trace_pr.h  |2 
 tools/perf/arch/powerpc/Makefile |1 
 tools/perf/arch/powerpc/util/Build   |1 
 tools/perf/arch/powerpc/util/kvm-stat.c  |   94 
 11 files changed, 398 insertions(+), 268 deletions(-)
 create mode 100644 arch/powerpc/include/uapi/asm/hcall_codes.h
 create mode 100644 arch/powerpc/include/uapi/asm/kvm_perf.h
 create mode 100644 arch/powerpc/include/uapi/asm/trace_book3s.h
 create mode 100644 arch/powerpc/include/uapi/asm/trace_hcall.h
 delete mode 100644 arch/powerpc/kvm/trace_book3s.h
 create mode 100644 tools/perf/arch/powerpc/util/kvm-stat.c

--

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev