[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Oprofile patch for 2.6.27 tree. Fix collision between Xen and Cell processor escape codes


  • To: Steven Smith <steven.smith@xxxxxxxxxx>
  • From: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
  • Date: Tue, 23 Jun 2009 18:13:38 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 23 Jun 2009 11:14:36 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcnxJ7vUTVHXIojrRaWK8oEj5dL64gDBGlww
  • Thread-topic: [PATCH] Oprofile patch for 2.6.27 tree. Fix collision between Xen and Cell processor escape codes

 
Steven

This is a fix to enable Oprofile to work on the netchannel2 2.6.27 tree.

This is to address a collision for escape codes used to represent domain 
switches in Xen and CPU switches in cell processors which were developed in 
parallel and used the same code.

There was a discussion on the Oprofile mailing list a while ago and it was 
decided that we would use different Oprofile codes for x86 and ia64 archs 
(which are the only ones that support Oprofile in Xen) in order to preserve 
backward compatibility for users.

The Oprofile user level tools expect different escape codes depending on the 
architecture. We need to make sure the kernel generates compatible escape codes.

I think this should be also pushed to the 2.6.27 XenClient tree.

Thanks

Renato

Attachment: fix_domain_switch_code.diff
Description: fix_domain_switch_code.diff

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.