diff options
author | Scott Wood <scottwood@freescale.com> | 2010-02-25 19:04:33 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-03-04 11:46:29 -0500 |
commit | 9d6df3fdfc470c313b7ea13dbe8a63fb21ab7365 (patch) | |
tree | cc689bbd3d7c1c88760cb972c124ea4cb0acf264 | |
parent | 653c60f37695d054e24b84102bb2426dd2840b8c (diff) |
powerpc/perf: Build callchain code regardless of hardware event support.
It's also useful for software events, as well as future support for
other types of hardware counters.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/kernel/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index c002b0410219..93fd1629f10e 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -98,7 +98,8 @@ obj64-$(CONFIG_AUDIT) += compat_audit.o | |||
98 | 98 | ||
99 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o | 99 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o |
100 | obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o | 100 | obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o |
101 | obj-$(CONFIG_PPC_PERF_CTRS) += perf_event.o perf_callchain.o | 101 | obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o |
102 | obj-$(CONFIG_PPC_PERF_CTRS) += perf_event.o | ||
102 | obj64-$(CONFIG_PPC_PERF_CTRS) += power4-pmu.o ppc970-pmu.o power5-pmu.o \ | 103 | obj64-$(CONFIG_PPC_PERF_CTRS) += power4-pmu.o ppc970-pmu.o power5-pmu.o \ |
103 | power5+-pmu.o power6-pmu.o power7-pmu.o | 104 | power5+-pmu.o power6-pmu.o power7-pmu.o |
104 | obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o | 105 | obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o |