[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On Wednesday 24 May 2006 12:19, Ray Bryant wrote:
> 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.

Ah, duh.   Please ignore.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.