perfmon2 minimal: AMD64 processor support
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.
Signed-off-by Stephane Eranian <[email protected]>
--
arch/x86/perfmon/Kconfig +7 -0
@@ -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
@@ -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