lkml.org 
[lkml]   [2011]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] perf support for amd guest/host-only bits v2
Date
Hi,

this is the second version of the patch-set to support the AMD
guest-/host only bits in the performance counter MSRs. Due to lack of
time I havn't looked into emulating support for this feature on Intel or
other architectures, but the other comments should be worked in. The
changes to v1 include:

* Rebased patches to v3.0-rc3
* Allow exclude_guest and exclude_host set at the same time
* Reworked event-parse logic for the new exclude-bits
* Only count guest-events per default from perf-kvm

Thats it, unless I forgot something. Any feedback appreciated :-)

Thanks,

Joerg

Diffstat:

arch/x86/include/asm/perf_event.h | 3 +++
arch/x86/kernel/cpu/perf_event_amd.c | 13 +++++++++++++
include/linux/perf_event.h | 5 ++++-
tools/perf/builtin-kvm.c | 5 +++--
tools/perf/util/event.c | 8 ++++++++
tools/perf/util/event.h | 2 ++
tools/perf/util/evlist.c | 5 ++++-
tools/perf/util/parse-events.c | 15 +++++++++++++--
8 files changed, 50 insertions(+), 6 deletions(-)

Shortlog:

Joerg Roedel (5):
perf, core: Introduce attrs to count in either host or guest mode
perf, amd: Use GO/HO bits in perf-ctr
perf, tools: Add support for guest/host-only profiling
perf, tools: Fix copy&paste error in perf-kvm option description
perf, tools: Do guest-only counting in perf-kvm by default




\
 
 \ /
  Last update: 2011-06-17 15:39    [W:0.075 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site