Re: [PATCH 18/18] 2.6.17.9 perfmon2 patch for review: new x86_64 files

From: Stephane Eranian
Date: Wed Aug 23 2006 - 09:55:38 EST


Andi,

On Wed, Aug 23, 2006 at 03:44:26PM +0200, Andi Kleen wrote:
> > If they have variations it could be with
> > the low power (laptop) models where counters may not be present at all.
>
> It would surprise me if they ever released anything again with no counters.
>
> It's mainly simulators where the counters are missing (e.g. SimNow is a pretty
> accurate simulation otherwise, but doesn't have performance counters)
>
Ah yes simulators are a good example. Yet what matters is whether or not they
would fault on access to the MSR. It is okay if they implement the MSR but
they do not count anything, nor trigger interrupts. The IA-64 ski simulator is
like this and this is just fine, all you get is zeroes and you cannot sample.

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