Skip to contentSkip to conversation

perfmon2 minimal: AMD64 processor support

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

lore
Share & tools
lore
#0 lore raw

PATCH 21/21 perfmon2 minimal: AMD64 processor support

Add support for AMD64 processors for Family 6, 15, and 16. Both 32-bit and 64-bit modes are supported.

--

arch/x86/perfmon/Kconfig +7 -0
Index: o/arch/x86/perfmon/Kconfig
===================================================================
@@ -23,4 +23,11 @@
 	Enables support for Intel architectural performance counters.
 	This feature was introduced with Intel Core Solo/Core Duo processors.
 
+config	X86_PERFMON_AMD64
+	bool "Support AMD Athlon/Opteron hardware performance counters"
+	depends on PERFMON
+	default n
+	help
+	Enables support for Athlon/Opterton hardware performance counters.
+	Support for  family 6, 15 and 16 processors.
 endmenu
arch/x86/perfmon/Makefile +1 -0
Index: o/arch/x86/perfmon/Makefile
===================================================================
@@ -4,3 +4,4 @@
 #
 obj-$(CONFIG_PERFMON)			+= perfmon.o
 obj-$(CONFIG_X86_PERFMON_INTEL_ARCH)	+= perfmon_intel_arch.o
+obj-$(CONFIG_X86_PERFMON_AMD64)		+= perfmon_amd64.o
arch/x86/perfmon/perfmon_amd64.c new file +441 -0

441 lines not on this page · raw message