2.6.17-rc6 perfmon2 patch for review: new powerpc files
PATCH 13/16 2.6.17-rc6 perfmon2 patch for review: new powerpc files
This patch contains the new powerpc files
arch/powerpc/perfmon/Kconfig +17 -0
@@ -0,0 +1,17 @@ +menu "Hardware Performance Monitoring support" +config PERFMON + bool "Perfmon2 performance monitoring interface" + 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 N. + +config PERFMON_POWER5 + tristate "Support for Power5 hardware performance counters" + depends on PERFMON + default m + help + Enables support for the Power 5 hardware performance counters + If unsure, say M. +endmenu
arch/powerpc/perfmon/Makefile +2 -0
@@ -0,0 +1,2 @@ +obj-$(CONFIG_PERFMON) += perfmon.o +obj-$(CONFIG_PERFMON_POWER5) += perfmon_power5.o
arch/powerpc/perfmon/perfmon.c +369 -0
369 lines not on this page · raw message
arch/powerpc/perfmon/perfmon_power5.c +72 -0
72 lines not on this page · raw message
include/asm-powerpc/perfmon.h +259 -0
259 lines not on this page · raw message