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-ia64-devel

Re: [Xen-ia64-devel] xenoprof usage question on ia64/xen

To: "Xing, Chong" <chong.xing@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] xenoprof usage question on ia64/xen
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Tue, 20 Nov 2007 14:35:59 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 19 Nov 2007 21:36:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1104166E0B63A341805FDB977862AAD2EA6399@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1104166E0B63A341805FDB977862AAD2EA6399@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Hi Xing.

You need one more ia64 specific patch to the oprofile user land.
The patch can be found from
http://lists.xensource.com/archives/html/xen-ia64-devel/2006-11/msg00132.html
I also attached the patch for your convenience.

I haven't send the patch to the oprofile upstream because
someone reported the profiled result sometimes looked odd.
But I haven't looked into it.
If you use xenoprof/ia64, please report whether the result looks sane
or bad. (Or unable to use xenoprof.)
Then, I'll (try to fix it and) send the patch to the oprofile upstream.

thanks.

On Mon, Nov 19, 2007 at 05:15:21PM +0800, Xing, Chong wrote:
>  
> 
> I want to use xenoprof on ia64/xen to do some performance analysis. But
> xenoprof fails to work.
> 
>  
> 
> The following is what I have configured:
> 
>          Xen version:  changeset:   15044:eabda101b0c5
> 
> download oprofile 0.9.2 and oprofile-0.9.2-xen-r2.patch is patched in domain0,
> and also built & installed.
> 
>          domain0 linux kernel is configured and rebuilt for enabling oprofile:
> 
> CONFIG_PROFILING=y
> 
> CONFIG_OPROFILE=y
> 
>  
> 
> But after the above work, xenoprof still can?t work correctly
> 
> #opcontrol ?start
> 
> Using default event: CPU_CYCLES:1000000:0:1:1
> 
> Using 2.6+ OProfile kernel interface.
> 
> Running perfmon child on CPU0.
> 
> CREATE_CONTEXT failed: Device or resource busy
> 
> Waiting on CPU0
> 
> <hang??>
> 
>  
> 
> Does anybody have some suggestions?
> 
> Thanks
> 
>  
> 

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

-- 
yamahata

Attachment: 4:f52b302e2007_xenperfmon_support.patch
Description: Text Data

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