Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

RE: [Xen-devel] xenoprof support patch issue for oprofile 0.9.3

To: "William Cohen" <wcohen@xxxxxxxxxx>
Subject: RE: [Xen-devel] xenoprof support patch issue for oprofile 0.9.3
From: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
Date: Mon, 30 Jul 2007 23:11:26 -0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, oprofile-list@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 30 Jul 2007 16:09:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46A8AFB0.2070507@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <469D0E8F.6070504@xxxxxxxxxx><08CA2245AFCF444DB3AC415E47CC40AFD37A7A@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <46A0CA3E.5020708@xxxxxxxxxx> <08CA2245AFCF444DB3AC415E47CC40AFD37CA0@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <46A8AFB0.2070507@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfPkV0TbG3XK50pSkedjri5aX1BOgDaeeUg
Thread-topic: [Xen-devel] xenoprof support patch issue for oprofile 0.9.3
Will

Xenoprof patches for oprofile 0.9.3 (to enable passive domain profiling)
are now available at http://xenoprof.sourceforge.net.
A required patch for the kernel is also available at the same location.
I think the kernel patch should NOT be included into the public Xen tree
at this time, as this will break compatibility with oprofile 0.9.2 that
users are currently using. I think it is better to have users wanting to
upgrade to oprofile 0.9.3 to apply an extra patch to the kernel rather
than breaking compatibility for all current users. I think we should
wait until Xen dom0 support gets into mainline linux to do that (or at
least until xenoprof patches are included in an official oprofile
release).

Regards

Renato
 
>> -----Original Message-----
>> From: William Cohen [mailto:wcohen@xxxxxxxxxx] 
>> Sent: Thursday, July 26, 2007 7:29 AM
>> To: Santos, Jose Renato G
>> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; 
>> oprofile-list@xxxxxxxxxxxxxxxxxxxxx
>> Subject: Re: [Xen-devel] xenoprof support patch issue for 
>> oprofile 0.9.3
>> 
>> Hi Renato,
>> 
>> I have munged the xenoprof patch to apply cleanly to the 
>> user-space oprofile. 
>> The patch don't address the larger changes with handling 
>> passive domains. The new oprofile-0.9.3-2.fc8 rpm built with 
>> this patch can be found at:
>> 
>> http://koji.fedoraproject.org/koji/buildinfo?buildID=11990
>> 
>> The xen kernel space will need to change the defines to 
>> correctly match. 
>> DOMAIN_SWITCH_CODE and LAST_CODE have changed to:
>> 
>> 
>> +#define DOMAIN_SWITCH_CODE             13
>> +#define LAST_CODE                      14
>> 
>> 
>> -Will
>> 

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

<Prev in Thread] Current Thread [Next in Thread>