Skip to contentSkip to conversation

perfmon3: Intel architectural PMU support

PATCH In review [email protected] 1 participant 1 message Oct 17, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 21/24 perfmon3: Intel architectural PMU support

This patch adds Intel architectural PMU support (version 1, 2, and 3).

--

arch/x86/perfmon/Makefile +1 -0
Index: o3/arch/x86/perfmon/Makefile
===================================================================
@@ -3,3 +3,4 @@
 # Contributed by Stephane Eranian <[email protected]>
 #
 obj-$(CONFIG_PERFMON)			+= perfmon.o
+obj-$(CONFIG_X86_PERFMON_INTEL_ARCH)	+= perfmon_intel_arch.o
arch/x86/perfmon/perfmon_intel_arch.c new file +628 -0

628 lines not on this page · raw message

arch/x86/perfmon/Kconfig +7 -0
Index: o3/arch/x86/perfmon/Kconfig
===================================================================
@@ -15,4 +15,11 @@
 	help
 	Enables perfmon debugging support
 
+config  X86_PERFMON_INTEL_ARCH
+	bool "Support for Intel architectural perfmon v1/v2/v3"
+	depends on PERFMON
+	default n
+	help
+	Enables support for Intel architectural performance counters.
+	This feature was introduced with Intel Core Solo/Core Duo processors.
 endmenu