perf_event: Build callchain code regardless of hardware event support.
PATCH 1/2 perf_event: 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 <[email protected]>
--- arch/powerpc/kernel/Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
arch/powerpc/kernel/Makefile +2 -1
@@ -98,7 +98,8 @@ obj64-$(CONFIG_AUDIT) += compat_audit.o obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o -obj-$(CONFIG_PPC_PERF_CTRS) += perf_event.o perf_callchain.o +obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o +obj-$(CONFIG_PPC_PERF_CTRS) += perf_event.o obj64-$(CONFIG_PPC_PERF_CTRS) += power4-pmu.o ppc970-pmu.o power5-pmu.o \ power5+-pmu.o power6-pmu.o power7-pmu.o obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o
Signature · 1 line
1.6.4.4
Quoted 4 lines · Scott Wood
It's also useful for software events, as well as future support for other types of hardware counters.
Signed-off-by Scott Wood <[email protected]>
Acked-by Paul Mackerras <[email protected]>
Kumar Gala
AppliedQuoted 7 lines · Paul Mackerras
Quoted 4 lines · Scott Wood
It's also useful for software events, as well as future support for other types of hardware counters.
Signed-off-by Scott Wood <[email protected]>Acked-by Paul Mackerras <[email protected]>
applied to next
- k