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

xen-devel

[Top] [All Lists]

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Xenoprof: getting Oprofile out of timer mode?
From: "Ray Bryant" <raybry@xxxxxxxxxxxxxxxxx>
Date: 2006年5月24日 12:19:38 -0500
Cc: Gitika Aggarwal <gitika@xxxxxxxxx>, Andrei Lifchits <alifchit@xxxxxxxxx>, "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
Delivery-date: 2006年5月24日 10:20:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6C21311CEE34E049B74CC0EF339464B9645430@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <6C21311CEE34E049B74CC0EF339464B9645430@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
On Wednesday 24 May 2006 02:02, Santos, Jose Renato G wrote:
> According to the Intel manual cpu_model 6 has the same
> perf counters as the other models of the p4 family.
> Thus, the patch seems the right fix, except
> that it would be better to use (cpu_model > 6)
> instead of (cpu_model > 7).
> Keir is right, oprofile should have the same problem
> in native Linux. I guess we could submit a similar
> patch for oprofile to the linux kernel mailing list.
>
> Renato
>
Ah, no, you need to return 1 for success. If the current cpu_model is 6, 
then "if (cpu_model > 6)" will return 0 and xenoprof/oprofile will remain in 
timer mode. 
-- 
Ray Bryant
AMD Performance Labs Austin, Tx
512-602-0038 (o) 512-507-7807 (c)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Networking in dom0 , Dave Lively
Next by Date: [Xen-devel] [PATCH] Xeno-Linux <asm/fixmap.h> is not in all arches , Jimi Xenidis
Previous by Thread: Re: [Xen-devel] Xenoprof: getting Oprofile out of timer mode? , Keir Fraser
Next by Thread: Re: [Xen-devel] Xenoprof: getting Oprofile out of timer mode? , Ray Bryant
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /