summaryrefslogtreecommitdiffstats
path: root/kernel/trace/Makefile
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2010-08-05 09:22:23 -0500
committerJason Wessel <jason.wessel@windriver.com>2010-08-05 09:22:23 -0500
commit955b61e597984745fb7d34c75708f6503b6aaeab (patch)
treec928ca54a8231b0432e729d8b675e473a5db9104 /kernel/trace/Makefile
parent3f0a55e3579a500ce9f5cdab70a5741f99769118 (diff)
downloadblackbird-op-linux-955b61e597984745fb7d34c75708f6503b6aaeab.tar.gz
blackbird-op-linux-955b61e597984745fb7d34c75708f6503b6aaeab.zip
ftrace,kdb: Extend kdb to be able to dump the ftrace buffer
Add in a helper function to allow the kdb shell to dump the ftrace buffer. Modify trace.c to expose the capability to iterate over the ftrace buffer in a read only capacity. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> CC: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/trace/Makefile')
-rw-r--r--kernel/trace/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile
index ffb1a5b0550e..4215530b490b 100644
--- a/kernel/trace/Makefile
+++ b/kernel/trace/Makefile
@@ -57,5 +57,8 @@ obj-$(CONFIG_EVENT_TRACING) += trace_events_filter.o
obj-$(CONFIG_KPROBE_EVENT) += trace_kprobe.o
obj-$(CONFIG_KSYM_TRACER) += trace_ksym.o
obj-$(CONFIG_EVENT_TRACING) += power-traces.o
+ifeq ($(CONFIG_TRACING),y)
+obj-$(CONFIG_KGDB_KDB) += trace_kdb.o
+endif
libftrace-y := ftrace.o
OpenPOWER on IntegriCloud