|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Xenoprof: getting Oprofile out of timer mode?
On Sunday 21 May 2006 01:53, Santos, Jose Renato G wrote:
> Xenoprof initialization is failing with -ENODEV status (-19).
> There are two conditions that would cause this:
> 1) The local APIC is not available (cpu_has_apic is false)
> 2) OR the cpu (family/model) is not one of the known CPU models
> in xenoprof
>
> Have you tried running Oprofile in vanila linux?
> Does OProfile recognize the CPU model and the APIC in Linux?
>
> Renato
>
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.
--
Ray Bryant
AMD Performance Labs Austin, Tx
512-602-0038 (o) 512-507-7807 (c)
xenoprof_fix_intel_920_955.patch
Description: Text Data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|