perf tools: Add support for guest/host-only profiling
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 4 Jan 2012 16:54:19 +0000 (17:54 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 6 Jan 2012 17:49:49 +0000 (15:49 -0200)
commit99320cc8240affcf33c04d28f47259de3b1a75d1
tree77320e3f5327c9dbfbd20ede725395930c50a286
parent1aed2671738785e8f5aea663a6fda91aa7ef59b5
perf tools: Add support for guest/host-only profiling

To restrict a counter to either host or guest mode this patch introduces
two new event modifiers: G and H.

With G the counter is configured in guest-only mode and with H in
host-only mode.

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>
Link: http://lkml.kernel.org/n/tip-or5aj3rghy9ngyg882z6kln9@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-list.txt
tools/perf/util/parse-events.c