WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] profiling active RHEL 4 PV domains with xenoprof

To: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
Subject: Re: [Xen-devel] profiling active RHEL 4 PV domains with xenoprof
From: Andrew Evans <andrewe@xxxxxxxxxxxxx>
Date: Fri, 29 Jan 2010 10:00:00 -0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 15 Feb 2010 02:29:50 -0800
Domainkey-signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type; b=HcMe6uM+Xdof5CQzrdcmYVtp2g8B34RoumcyjPN+qPFZIPeVARc1MN7QUGVPe84x
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EF547E542C520A4D858CFEF5B404D05360854D3FBC@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <4B623BED.6090603@xxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D05360854D3FBC@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100122 Thunderbird/3.0.1
On 01/29/10 09:04, Santos, Jose Renato G wrote:
> Yes, you need need xenoprof support both in the kernel and in the
> OProfile user level tools in anctive profiled domain.

Thanks for clarifying.

>   Are you sure Oprofile user level tools has xenoprof support?
>   The latest patch avaialable in http://xenoprof.sourceforge.net/ is for 
> oprofile 0.9.5 but you claim to be using 0.9.6
>   Try using 0.9.5 and apply the patch.
>   

Upstream OProfile 0.9.6 doesn't include xenoprof support. What I did was
fix the xenoprof patch for 0.9.5 so it applies cleanly to 0.9.6. The
changes were trivial and only affected the usage message in opcontrol
IIRC. I'll attach it so you can put it up for download. OProfile 0.9.5
has some fairly serious bugs that 0.9.6 has fixed, so that's why I'm
using 0.9.6.

> No, you should use the same event in dom0 and domU and not timer mode.
>   If Oprofile is reporting timer mode in domU there is something wrong in its 
> OProfile configuration; either you don't have the right patches or you are 
> not correctly synchronyzing dom0 and domU opcontrol commands.
>   

Ok, I'll check my OProfile configuration. Thanks very much.

-Andrew

Attachment: oprofile-0.9.6-xen.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>