ftrace,kdb: Extend kdb to be able to dump the ftrace buffer
authorJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:23 +0000 (09:22 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:23 +0000 (09:22 -0500)
commit955b61e597984745fb7d34c75708f6503b6aaeab
treec928ca54a8231b0432e729d8b675e473a5db9104
parent3f0a55e3579a500ce9f5cdab70a5741f99769118
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>
kernel/trace/Makefile
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_kdb.c [new file with mode: 0644]