From: Keir Fraser Subject: Re: [PATCH] Fix xenoprof counter overflow check Date: Tue, 06 Jan 2009 22:15:40 +0000 Message-ID: References: <7e45e2ac0901061037j19a8303eq792603eec4fb4735@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <7e45e2ac0901061037j19a8303eq792603eec4fb4735@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Niraj Tolia Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 06/01/2009 18:37, "Niraj Tolia" wrote: > While the mainline patch won't build, the one attached definitely does. That > said, I see your point about the overflow. Now I need to figure out why this > broken patch actually enables xenoprof to work on my Intel Xeon. The only > reason would be the switch from CTR_READ() (which uses rdmsr() internally) to > rdmsrl() but let me dig into it. The patch absolutely did not build. There were still references to local variables ('low' and 'high') that you removed the definitions of. -- Keir