]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - tools/perf/util/kvm-stat.h
perf kvm: Add stat support on s390
authorAlexander Yarygin <yarygin@linux.vnet.ibm.com>
Thu, 3 Jul 2014 14:29:07 +0000 (18:29 +0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 16 Jul 2014 20:57:33 +0000 (17:57 -0300)
commit3be8e2a0a53c3179a44a933614f6a893da0b5c19
tree7f2ebeed37634cfcf46244e80ad1c1c90642e389
parent54c801ff71ba9c9ae41871e226b9d846ff9c6bab
perf kvm: Add stat support on s390

On s390, the vmexit event has a tree-like structure: between
exit_event_begin and exit_event_end several other events may happen and
with each of them refining the previous ones.

This patch adds a decoder for such events to the generic code and also
the files <asm/kvm_perf.h> and kvm-stat.c for s390.

Commands 'perf kvm stat record', 'report' and 'live' are supported.

Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1404397747-20939-5-git-send-email-yarygin@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
arch/s390/include/uapi/asm/Kbuild
arch/s390/include/uapi/asm/kvm_perf.h [new file with mode: 0644]
tools/perf/Documentation/perf-kvm.txt
tools/perf/MANIFEST
tools/perf/arch/s390/Makefile
tools/perf/arch/s390/util/kvm-stat.c [new file with mode: 0644]
tools/perf/builtin-kvm.c
tools/perf/util/kvm-stat.h