Skip to contentSkip to conversation

2.6.17-rc6 perfmon2 patch for review: new i386 files

PATCH In review Stephane Eranian 1 participant 1 message Jun 15, 2006

lore
Share & tools
lore
#0 lore raw

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

This patch contains the new i386 files

arch/i386/perfmon/Kconfig +48 -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.
+
+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
arch/i386/perfmon/Makefile +9 -0
@@ -0,0 +1,9 @@
+#
+# Copyright (c) 2005-2006 Hewlett-Packard Development Company, L.P.
+# Contributed by Stephane Eranian <[email protected]>
+#
+obj-$(CONFIG_PERFMON)		+= perfmon.o
+obj-$(CONFIG_PERFMON_P6)	+= perfmon_p6.o
+obj-$(CONFIG_PERFMON_P4)	+= perfmon_p4.o
+obj-$(CONFIG_PERFMON_GEN_IA32)	+= perfmon_gen_ia32.o
+obj-$(CONFIG_PERFMON_P4_PEBS)	+= perfmon_p4_pebs_smpl.o
arch/i386/perfmon/perfmon.c +1148 -0

1,148 lines not on this page · raw message

arch/i386/perfmon/perfmon_gen_ia32.c +265 -0

265 lines not on this page · raw message

arch/i386/perfmon/perfmon_p4.c +405 -0

405 lines not on this page · raw message

arch/i386/perfmon/perfmon_p4_pebs_smpl.c +219 -0

219 lines not on this page · raw message

arch/i386/perfmon/perfmon_p6.c +154 -0

154 lines not on this page · raw message

include/asm-i386/perfmon.h +267 -0

267 lines not on this page · raw message

include/asm-i386/perfmon_p4_pebs_smpl.h +96 -0

96 lines not on this page · raw message