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

Re: [Xen-devel] Xenoprof: getting Oprofile out of timer mode?

To: "Ray Bryant" <raybry@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xenoprof: getting Oprofile out of timer mode?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 23 May 2006 23:32:34 +0100
Cc: Gitika Aggarwal <gitika@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Andrei Lifchits <alifchit@xxxxxxxxx>, "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
Delivery-date: Tue, 23 May 2006 15:37:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200605231732.44746.raybry@xxxxxxxxxxxxxxxxx>
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: <6C21311CEE34E049B74CC0EF339464B9645332@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200605231732.44746.raybry@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 23 May 2006, at 23:32, Ray Bryant wrote:

Yeah, it looks the problem is the following check in
arch/x86/oprofile/nmi_int.c:

        if (cpu_model > 4)
                return 0;

Intel processors 920 and 955 (perhaps others, you would have to ask Intel) appear to return 6 as the cpu model. Making the obvious change to the above
gets oprofile out of timer only mode.   An obvious patch is attached.

Presumably there is the same problem with oprofile on Linux running natively (no Xen)?

 -- Keir


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