perf kvm: Do guest-only counting by default
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 4 Jan 2012 16:54:20 +0000 (17:54 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 6 Jan 2012 17:47:37 +0000 (15:47 -0200)
commit1aed2671738785e8f5aea663a6fda91aa7ef59b5
treec28239bcbdc3b86278cceb27e2b33187c81ac20e
parentdf25f989a4390ca0dbc9cb24516d4b10c01ceda8
perf kvm: Do guest-only counting by default

Make use of exclude_guest and exlude_host in perf-kvm to do only
guest-only counting by default.

Cc: Gleb Natapov <gleb@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
[ committer note: Moved perf_{guest,host} & event_attr_init to util.c ]
[                 so as not to drag more stuff to the python binding]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kvm.c
tools/perf/util/evlist.c
tools/perf/util/parse-events.c
tools/perf/util/util.c
tools/perf/util/util.h