From: Joerg Roedel <joro@8bytes.org>
To: Naresh Rapolu <nrapolu@purdue.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Hardware performance events are not counted by "perf" in a 2.6.31.12 KVM guest
Date: Sun, 28 Mar 2010 13:57:58 +0200 [thread overview]
Message-ID: <20100328115758.GP14800@8bytes.org> (raw)
In-Reply-To: <4BAD675E.3050600@purdue.edu>
On Fri, Mar 26, 2010 at 10:03:10PM -0400, Naresh Rapolu wrote:
> "perf" tool does not count hardware performance events ( cache misses
> etc) in a KVM guest ( Ubuntu 9.10 karmic, 2.6.31-14-generic kernel)
> on Xeon 5530 quad-core. The host is 2.6.28 kernel , Ubuntu 8.04
> LTS, Hardy.
The KVM guest has no access to the hardware counters of the cpu. KVM
ignores these accesses from guests. Making this work needs proper
virtualization of the PMU which is not implemented yet.
Regards,
Joerg
next prev parent reply other threads:[~2010-03-28 11:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-27 2:03 Hardware performance events are not counted by "perf" in a 2.6.31.12 KVM guest Naresh Rapolu
2010-03-28 11:57 ` Joerg Roedel [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-03-27 1:58 Naresh Rapolu
2010-03-27 4:38 ` Chris Wright
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=20100328115758.GP14800@8bytes.org \
--to=joro@8bytes.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nrapolu@purdue.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.