]> git.karo-electronics.de Git - linux-beck.git/commit
perf kvm: Introduce HAVE_KVM_STAT_SUPPORT flag
authorAlexander Yarygin <yarygin@linux.vnet.ibm.com>
Thu, 3 Jul 2014 13:59:49 +0000 (17:59 +0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 Jul 2014 19:55:23 +0000 (16:55 -0300)
commitda50ad69723111e0292f1943dad77b41bb9a25b0
treeeb0f7455fb95de36a05f00fa9a2c9b99e60dd38e
parent1561880d7b114a65e307d1ac9a0991dc715355b3
perf kvm: Introduce HAVE_KVM_STAT_SUPPORT flag

kvm stat support is currently conditional on i386/x86_64. Let's abstract
this into a HAVE_KVM_STAT_SUPPORT flag, so that other architectures can
support kvm stat as well.

Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
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: 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/1404395992-17095-2-git-send-email-yarygin@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/x86/Makefile
tools/perf/builtin-kvm.c
tools/perf/config/Makefile