Skip to contentSkip to conversation

perfmon2 minimal: Intel architectural PMU support

PATCH In review [email protected] 1 participant 1 message Jun 9, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 20/21 perfmon2 minimal: Intel architectural PMU support

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

--

arch/x86/perfmon/Makefile +1 -0
Index: o/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 +484 -0

484 lines not on this page · raw message

arch/x86/perfmon/Kconfig +8 -0
Index: o/arch/x86/perfmon/Kconfig
===================================================================
@@ -15,4 +15,12 @@
 	help
 	Enables perfmon debugging support
 
+config  X86_PERFMON_INTEL_ARCH
+	bool "Support for Intel architectural perfmon v1/v2"
+	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