Subject: Re: PMC Counter are not supported
To: Stephan Thesing <thesing@cs.uni-sb.de>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: tech-kern
Date: 07/10/2005 11:29:28
On Sun, Jul 10, 2005 at 10:15:44AM +0200, Stephan Thesing wrote:
> Hello,
> 
> On Sun, 10 Jul 2005, Pavel Cahyna wrote:
> 
> >On Sun, 10 Jul 2005 07:00:13 +1000, matthew green wrote:
> >
> >>pmc(4) is only supported on some machines.  non-SMP pentium3 systems
> >>only, last i checked.
> >
> >Not true, on 2.0 pmc(4) is completely unsupported, see PR port-i386/26437.
> 
> though I don't have a 2.0 machine with something <Pentium 4 accessible 
> right now, at least from sys/arch/i386/i386/pmc.c on 2.0 this doesn't seem 
> to be true.
> In fact, pmc works on a Pentium II with 1.6.x.  I don't see, why it 
> shouldn't work on 2.0 on that CPUs (if enabled in the kernel) (Athlon is 
> not supported in 1.6 if I read the code right).

Because there was a bug introduced between 1.6 and 2.0 and fixed between
2.0 and 3.0 .

If it is already fixed on 2.0 or 2_STABLE branches, then the PR can be
closed.

Bye	Pavel