diff options
author | Paul Mackerras <paulus@samba.org> | 2009-01-09 04:21:55 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2009-01-10 00:32:05 -0500 |
commit | 4574910e5087085a1f330ff8373cee4503f5c77c (patch) | |
tree | a3bb6c974c2314ca91ee2e3a33a7283187ad19ea /arch/powerpc/kernel/Makefile | |
parent | 93a6d3ce6962044fe9badf528fed46b455d58292 (diff) |
powerpc/perf_counter: Add generic support for POWER-family PMU hardware
This provides the architecture-specific functions needed to access
PMU hardware on the 64-bit PowerPC processors. It has been designed
for the IBM POWER family (POWER 4/4+/5/5+/6 and PPC970) but will
hopefully also suit other 64-bit PowerPC machines (although probably
not Cell given how different it is in this area). This doesn't
include back-ends for any specific processors.
This implements a system which allows back-ends to express the
constraints that their hardware has on what events can be counted
simultaneously. The constraints are expressed as a 64-bit mask +
64-bit value for each event, and the encoding is capable of
expressing the constraints arising from having a set of multiplexers
feeding an event bus, with some events being available through
multiple multiplexer settings, such as we get on POWER4 and PPC970.
Furthermore, the back-end can supply alternative event codes for
each event, and the constraint checking code will try all possible
combinations of alternative event codes to try to find a combination
that will fit.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 1308a86e9070..fde190bbb2bd 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -94,6 +94,7 @@ obj-$(CONFIG_AUDIT) += audit.o | |||
94 | obj64-$(CONFIG_AUDIT) += compat_audit.o | 94 | obj64-$(CONFIG_AUDIT) += compat_audit.o |
95 | 95 | ||
96 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o | 96 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o |
97 | obj-$(CONFIG_PERF_COUNTERS) += perf_counter.o | ||
97 | 98 | ||
98 | obj-$(CONFIG_8XX_MINIMAL_FPEMU) += softemu8xx.o | 99 | obj-$(CONFIG_8XX_MINIMAL_FPEMU) += softemu8xx.o |
99 | 100 | ||