From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lin Ming Subject: Re: Virtualization of the CPU Performance Monitoring Unit Date: Wed, 11 Apr 2012 00:25:42 +0800 Message-ID: <1334075142.10187.0.camel@hp6530s> References: <4F7F1D14.9040208@amd.com> <20120406183618.GA13473@phenom.dumpdata.com> <1334051539.12209.158.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1334051539.12209.158.camel@dagon.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Marcus Granado , Wei Huang , "xen-devel@lists.xen.org" , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Tue, 2012-04-10 at 10:52 +0100, Ian Campbell wrote: > On Sun, 2012-04-08 at 07:58 +0100, Lin Ming wrote: > > On Sat, Apr 7, 2012 at 2:36 AM, Konrad Rzeszutek Wilk > > wrote: > > > On Fri, Apr 06, 2012 at 11:43:00AM -0500, Wei Huang wrote: > > >> On 04/06/2012 10:41 AM, Lin Ming wrote: > > >> >Hi list, > > >> > > > >> >Is anybody working on virtualization of the CPU Performance Monitoring Unit? > > >> > > > >> >There are 2 PMU related projects listed on GSoC 2012 page. > > >> >http://wiki.xen.org/wiki/Archived/GSoC_2012_Ideas > > >> > > > >> >- Virtualization of the CPU Performance Monitoring Unit > > >> >- Perf support for Xen > > >> > > > >> >I'm interested on these 2 projects. > > >> Hi Lin, > > >> > > >> 1. I don't think Xen was accepted as an organization for 2012 GSOC. > > >> See > > >> http://lists.xen.org/archives/html/xen-devel/2012-03/msg02080.html. > > >> 2. The PMU project description in the wiki is vague. I know HVM > > >> guests support virtualized PMU. Please check vpmu.c files in /hvm, > > >> /svm, and /vmx directories. You better ask mentors for details > > >> (maybe this is XCP specific?). > > > > > > This is dom0 related. So being able to use perf to instrument > > > the hypervisor (and the guests from dom0). > > > > For guests instrument: > > > > How about use perf on guests(domU) directly? > > I guess that would be a subset of the dom0 support? e.g. the ability for > a PV guest to run perf on itself. Yes. > > Ian. > >