2.6.17-rc6 perfmon2 patch for review: new i386 files
In-Reply-To: <[email protected]>
Quoted 46 lines · Stephane Eranian
This patch contains the new i386 files
arch/i386/perfmon/Kconfig 2006-06-13 06:58:08.000000000 -0700 renamed from arch/i386/perfmon/Kconfig 1969-12-31 16:00:00.000000000 -0800 +38
-0@@ -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. +
arch/i386/perfmon/Kconfig 2006-06-13 06:58:08.000000000 -0700 line 48
Quoted 10 lines
arch/i386/perfmon/Kconfig 2006-06-13 06:58:08.000000000 -0700 renamed from arch/i386/perfmon/Kconfig 1969-12-31 16:00:00.000000000 -0800 +10
-0+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.)
Signature · 2 lines
Chuck "You can't read a newspaper if you can't read." --George W. Bush
Quoted 48 lines · Chuck Ebbert
In-Reply-To: <[email protected]>
Quoted 46 lines · Stephane Eranian
--- 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/Kconfig2006-06-13 06:58:08.000000000 -0700 @@ -0,0 +1,48 @@(quoted diff) +12
-0+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 performancecounters" + depends on PERFMON
(quoted diff) +22
-0+ 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 performancecounters. + You need a Core Duo/Solo processor or newer for this
work. + If unsure, say M.(quoted diff) +6
-0+ +config PERFMON_P4_PEBS + tristate "Support for Intel P4 PEBS sampling format" + depends on PERFMON_P4 + default m + help
Quoted 8 lines
Review
Quoted 5 lines
+ 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.(quoted diff) +2
-0+ +endmenuWhat 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.
Signature · 4 lines
Kevin Corry [email protected] http://www.ibm.com/linux/ http://evms.sourceforge.net/