public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] perf support for amd guest/host-only bits v2
@ 2011-06-17 13:37 Joerg Roedel
  2011-06-17 13:37 ` [PATCH 1/5] perf, core: Introduce attrs to count in either host or guest mode Joerg Roedel
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Joerg Roedel @ 2011-06-17 13:37 UTC (permalink / raw)
  To: Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo
  Cc: linux-kernel, kvm

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-06-29 12:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17 13:37 [PATCH 0/5] perf support for amd guest/host-only bits v2 Joerg Roedel
2011-06-17 13:37 ` [PATCH 1/5] perf, core: Introduce attrs to count in either host or guest mode Joerg Roedel
2011-06-17 13:37 ` [PATCH 2/5] perf, amd: Use GO/HO bits in perf-ctr Joerg Roedel
2011-06-17 13:37 ` [PATCH 3/5] perf, tools: Add support for guest/host-only profiling Joerg Roedel
2011-06-17 13:37 ` [PATCH 4/5] perf, tools: Fix copy&paste error in perf-kvm option description Joerg Roedel
2011-06-17 13:37 ` [PATCH 5/5] perf, tools: Do guest-only counting in perf-kvm by default Joerg Roedel
2011-06-19  9:01 ` [PATCH 0/5] perf support for amd guest/host-only bits v2 Avi Kivity
2011-06-28 16:10 ` Joerg Roedel
2011-06-29  9:02   ` Peter Zijlstra
2011-06-29  9:27     ` Avi Kivity
2011-06-29  9:48       ` Joerg Roedel
2011-06-29  9:36     ` Roedel, Joerg
2011-06-29 12:05     ` Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox