Re: [PATCH] perf_events: fix bug in hw_perf_enable()

From: Peter Zijlstra
Date: Mon Feb 01 2010 - 13:20:40 EST


On Mon, 2010-02-01 at 18:56 +0100, Stephane Eranian wrote:
> On Mon, Feb 1, 2010 at 6:46 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> > On Mon, 2010-02-01 at 18:23 +0100, Stephane Eranian wrote:
> >> > 244235699509090 raw 0x13c
> >> > 244235695558036 raw 0x13c
> >> >
> >> Strange. I am running mine on a Q6600.
> >> What's yours?
> >
> > These numbers came from a T9400, but my Q9450 does something similar.
> >
> Are you sure you are reading from the correct corresponding data registers?

It sure got me wondering, I'll go over that fixed counter code in
arch/x86/kernel/cpu/perf_event.c in the morning.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/