mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joerg Roedel <joerg.roedel@amd.com>
To: Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Paul Mackerras <paulus@samba.org>, Ingo Molnar <mingo@elte.hu>,
	Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: <linux-kernel@vger.kernel.org>, <kvm@vger.kernel.org>
Subject: [PATCH 0/5] perf support for amd guest/host-only bits v2
Date: Fri, 17 Jun 2011 15:37:29 +0200	[thread overview]
Message-ID: <1308317854-27398-1-git-send-email-joerg.roedel@amd.com> (raw)

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



             reply	other threads:[~2011-06-17 13:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17 13:37 Joerg Roedel [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1308317854-27398-1-git-send-email-joerg.roedel@amd.com \
    --to=joerg.roedel@amd.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@ghostprotocols.net \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®