diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-08-05 09:22:23 -0500 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-08-05 09:22:23 -0500 |
commit | 955b61e597984745fb7d34c75708f6503b6aaeab (patch) | |
tree | c928ca54a8231b0432e729d8b675e473a5db9104 /kernel/trace/Makefile | |
parent | 3f0a55e3579a500ce9f5cdab70a5741f99769118 (diff) | |
download | kernel_samsung_aries-955b61e597984745fb7d34c75708f6503b6aaeab.zip kernel_samsung_aries-955b61e597984745fb7d34c75708f6503b6aaeab.tar.gz kernel_samsung_aries-955b61e597984745fb7d34c75708f6503b6aaeab.tar.bz2 |
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/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile index ffb1a5b..4215530 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 |