From: "Jan Beulich" Subject: Re: [PATCH] Oprofile patch for 2.6.27 tree. Fix collisionbetween Xen and Cell processor escape codes Date: Wed, 24 Jun 2009 09:15:13 +0100 Message-ID: <4A41FCB10200007800007522@vpn.id2.novell.com> References: <20090605205123.GB4514@weybridge.uk.xensource.com> <20090608100212.GA11202@weybridge.uk.xensource.com> <20090609084651.GA14593@weybridge.uk.xensource.com> <20090616103822.GA32136@weybridge.uk.xensource.com> <20090619173009.GA13896@weybridge.uk.xensource.com> <20090619215857.GA14674@weybridge.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Steven Smith , Jose Renato G Santos Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org I'm a little confused by this: Upstream oprofile 0.9.4 has the same = workaround implemented on the user mode side of things, so adjusting this = in the kernel now would make the kernel incompatible with that and future = versions. Jan >>> "Santos, Jose Renato G" 23.06.09 20:13 >>> 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