Skip to content

Commit 9d6df3f

Browse files
Scott Woodkumargala
authored andcommitted
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>
1 parent 653c60f commit 9d6df3f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎arch/powerpc/kernel/Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ obj64-$(CONFIG_AUDIT) += compat_audit.o
9898

9999
obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
100100
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
102103
obj64-$(CONFIG_PPC_PERF_CTRS) += power4-pmu.o ppc970-pmu.o power5-pmu.o \
103104
power5+-pmu.o power6-pmu.o power7-pmu.o
104105
obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o

0 commit comments

Comments
 (0)