Re: [PATCH 11/16] 2.6.17-rc6 perfmon2 patch for review: new i386 files

From: Kevin Corry
Date: Sun Jun 18 2006 - 08:24:13 EST


On Sun June 18 2006 1:07 am, Chuck Ebbert wrote:
> In-Reply-To: <200606150907.k5F97e7A008202@xxxxxxxxxxxxxxxxx>
> On Thu, 15 Jun 2006 02:07:40 -0700, Stephane Eranian wrote:
> > --- linux-2.6.17-rc6.orig/arch/i386/perfmon/Kconfig 1969-12-31
> > 16:00:00.000000000 -0800 +++ linux-2.6.17-rc6/arch/i386/perfmon/Kconfig
> > 2006-06-13 06:58:08.000000000 -0700 @@ -0,0 +1,48 @@
> > +menu "Hardware Performance Monitoring support"
> > +config PERFMON
> > + bool "Perfmon2 performance monitoring interface"
> > + select X86_LOCAL_APIC
> > + default y
> > + help
> > + include the perfmon2 performance monitoring interface
> > + in the kernel. See <http://perfmon2.sf.net/> for
> > + more details. If you're unsure, say Y.
> > +
> > + config PERFMON_P6
> > + tristate "Support for P6/Pentium M processor hardware performance
> > counters" + depends on PERFMON
> > + default m
> > + help
> > + Enables support for the P6-style hardware performance counters.
> > + To be used for P6 processors (Pentium III, PentiumPro) and also
> > + for Pentium M.
> > + If unsure, say M.
> > +
> > +config PERFMON_P4
> > + tristate "Support for 32-bit P4/Xeon hardware performance counters"
> > + depends on PERFMON
> > + default m
> > + help
> > + Enables support for the 32-bit P4/Xeon style hardware performance
> > + counters.
> > + If unsure, say M.
> > +
> > +config PERFMON_GEN_IA32
> > + tristate "Support for the architected IA-32 PMU"
> > + depends on PERFMON
> > + default m
> > + help
> > + Enables support for the architected IA-32 hardware performance
> > counters. + You need a Core Duo/Solo processor or newer for this
> > work. + If unsure, say M.
> > +
> > +config PERFMON_P4_PEBS
> > + tristate "Support for Intel P4 PEBS sampling format"
> > + depends on PERFMON_P4
> > + default m
> > + help
> > + Enables support for Precise Event-Based Sampling (PEBS) on the
> > Intel P4 + processors which support it. Does not work with P6
> > processors. + If unsure, say m.
> > +
> > +endmenu
>
> What do I pick for i386 kernel on Athlon64 hardware? P6? There's no help
> for that (or Athlon/Sempron processors.)

P6 is only for Intel Pentium-Pro, Pentium-II, Pentium-III, and Pentium-M.

See arch/x86_64/perfmon/Kconfig for the config options for AMD Athlon64 and
Intel EM64T.

I'm not sure if 32-bit Athlons are supported yet.

--
Kevin Corry
kevcorry@xxxxxxxxxx
http://www.ibm.com/linux/
http://evms.sourceforge.net/
-
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/