summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-10 04:45:29 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-13 07:20:16 -0400
commit1ee76d7e169ff2b0ff1df4b40b9d5276eec9ffb4 (patch)
tree384f296a2e24ee0156a81d9b62cdf6bc48d10650 /arch/blackfin/kernel/Makefile
parent1c873be744410e26fb91ee9228c90adff6eabe15 (diff)
Blackfin: initial support for ftrace grapher
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/Makefile')
-rw-r--r--arch/blackfin/kernel/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/Makefile b/arch/blackfin/kernel/Makefile
index d2ae285e5b6..3731088e181 100644
--- a/arch/blackfin/kernel/Makefile
+++ b/arch/blackfin/kernel/Makefile
@@ -16,6 +16,9 @@ else
endif
obj-$(CONFIG_FUNCTION_TRACER) += ftrace-entry.o
+obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
+CFLAGS_REMOVE_ftrace.o = -pg
+
obj-$(CONFIG_IPIPE) += ipipe.o
obj-$(CONFIG_IPIPE_TRACE_MCOUNT) += mcount.o
obj-$(CONFIG_BFIN_GPTIMERS) += gptimers.o