> Are there event tables for these guys, too?
> - d

I sent a patch back in May that modified the p6 event table to handle
PIII, PII, and Pentium Pro but it doesn't seem to have been merged
(possibly because it was a really ugly patch).  I can dig it up and
re-send it if needed.

I personally am only using the INST_RETIRED and CYCLES performance
counters right now so the improper device table isn't affecting me.

Vince


>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:perfmon-
> > [EMAIL PROTECTED] On Behalf Of Stephane Eranian
> > Sent: Thursday, October 25, 2007 11:25 AM
> > To: Vince Weaver
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [perfmon] Pentium Pro support
> >
> > Vince,
> >
> > Both patches have been applied. Glad to see this working on older
> > machines.
> >
> > Thanks for your contributions.
> >
> > On Wed, Oct 24, 2007 at 01:37:41PM -0400, Vince Weaver wrote:
> > > Hello
> > >
> > > attached are the patches to the kernel and to libpfm that enable Pentium
> > > Pro support.  I managed to find an actual Pentium Pro system, and have
> > > verified that these patches work.
> > >
> > > Vince
> > >
> > >
> > > --- ./lib/pfmlib_i386_p6.c.orig   2007-10-24 09:13:13.000000000 -0400
> > > +++ ./lib/pfmlib_i386_p6.c        2007-10-24 09:13:41.000000000 -0400
> > > @@ -112,6 +112,7 @@
> > >   model = atoi(buffer);
> > >
> > >   switch(model) {
> > > +         case 1: /* Pentium Pro */
> > >                  case 3: /* Pentium II */
> > >                  case 5: /* Pentium II Deschutes */
> > >           case 7: /* Pentium III Katmai */
> > >
> > >
> > >
> > >
> > >
> > > --- ./arch/i386/perfmon/perfmon_p6.c.orig 2007-10-24
> > 09:05:19.000000000 -0400
> > > +++ ./arch/i386/perfmon/perfmon_p6.c      2007-10-24
> 09:05:55.000000000 -
> > 0400
> > > @@ -99,6 +99,7 @@
> > >   }
> > >
> > >   switch(cpu_data->x86_model) {
> > > +         case 1: /* Pentium Pro */
> > >           case 3:
> > >           case 5: /* Pentium II Deschutes */
> > >           case 7 ... 11:
> > >
> > > _______________________________________________
> > > perfmon mailing list
> > > [email protected]
> > > http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
> >
> > --
> >
> > -Stephane
> > _______________________________________________
> > perfmon mailing list
> > [email protected]
> > http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
>
>

-- 
/*  Vince Weaver  [EMAIL PROTECTED]  http://csl.cornell.edu/~vince  */

main(){char O,o[66]="|\n\\/_  ",*I=o+7,l[]="B!FhhBHCWE9C?cJFKET$+h'Iq*chT"
,i=0,_;while(_=l[i++])for(O=0;O++<_>>5;)*I=*(I++-(_&31));*I=0;puts(o+5);}

_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to