This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-devel] About the oprofile tools and related profiling tools

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, "dunlapg@xxxxxxxxx" <dunlapg@xxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] About the oprofile tools and related profiling tools
From: "Lv, Hui" <hui.lv@xxxxxxxxx>
Date: Tue, 31 May 2011 23:42:38 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 31 May 2011 14:24:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110531143542.GK14641@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C10D3FB0CD45994C8A51FEC1227CE22F233F62EA4E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20110531143542.GK14641@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwfoBMjAoga4TqjRkKl56NGPTYWNgABvcow
Thread-topic: [Xen-devel] About the oprofile tools and related profiling tools
Thanks Konrad and George!

I have tried Mike Petullo's patched pvops domain0 and xenoprofile on it can 

But I did not get the right sample results of HVM guest (No samples obtained). 
So I guess, something should be wrong from hypervisor part in profiling HVM 

So did anyone successfully profile the HVM based guest using this patch?

Anyway, this patch is very useful. Thanks Mike Petullo's work. :) 

Best regards,

Lv, Hui

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:konrad.wilk@xxxxxxxxxx] 
Sent: Tuesday, May 31, 2011 10:36 PM
To: Lv, Hui
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] About the oprofile tools and related profiling tools

On Mon, May 30, 2011 at 11:25:10AM +0800, Lv, Hui wrote:
> Hi, list
> I found the oprofile tools were not supported in PVOPS domain0(from jeremy's 
> tree). Someone has made the patch to enable it. When I applied such patch, 
> xenoprofile can work. But the results were not trusted. (I think, part of 
> this reason was due to xen, which changed the NMI handling way, but did not 
> update the xenoprofile part)

Hm, I don't think the Jeremy's tree had support for it.

Mike Petullo wrote a patch for the oprofile support and Xen for 2.6.39 kernels.

If you want to try it out, I would suggest you play with devel/next-2.6.39 in my
git tree git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git.

> So my question is that, does anyone still maintain this tools? Or, do xen 
> guys have a plan to enable more powerful profiling tools like 'perf' in 
> native Linux or something else.

Would love to, except that I don't think anybody has signed up for that yet.

> One of my basic feeling about xen's performance profiling tools is that the 
> functional level profiling tools like oprofile were neglected recently.
> Best regards!
> Lv,hui

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Xen-devel mailing list