Re: 2.6.28-rc9: oprofile regression

From: Tim Blechmann
Date: Thu Jan 15 2009 - 04:15:00 EST


On Thu, 2009-01-15 at 09:46 +0100, Thomas Gleixner wrote:
> Tim,
>
> On Wed, 14 Jan 2009, Tim Blechmann wrote:
> > this code (line 81/82), changes counter_width from 32 to 40.
> >
> > if (counter_width < eax.split.bit_width)
> > counter_width = eax.split.bit_width;
> >
> > however when removing these lines, and thus keeping the value 32 for
> > counter_width, doesn't change the behavior, only one NMI per cpu.
>
> It would only help, when the reported bit_width would be bogus. We
> know that you get at least one NMI, so lets look at the results we get
> there.

it seems, that ppro_check_ctrs is never called:
[ 982.238639] oprofile: using NMI interrupt.

hth, tim

--
tim@xxxxxxxxxx
http://tim.klingt.org

Nothing exists until or unless it is observed. An artist is making
something exist by observing it. And his hope for other people is that
they will also make it exist by observing it. I call it 'creative
observation.' Creative viewing.
William S. Burroughs

Attachment: signature.asc
Description: This is a digitally signed message part