]> Pileus Git - ~andy/linux/commit
tracing: Open tracer when ftrace_dump_on_oops is used
authorCody P Schafer <cody@linux.vnet.ibm.com>
Wed, 23 Oct 2013 18:49:57 +0000 (11:49 -0700)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 6 Nov 2013 15:03:11 +0000 (10:03 -0500)
commitb2f974d6af9accfec11e69cc76d2ab9f0c7359e0
tree23e54345bd0a6d4ca709bf104ce8f33ed6c44ccb
parentd562aff93bfb530b0992141500a402d17081189d
tracing: Open tracer when ftrace_dump_on_oops is used

With ftrace_dump_on_oops, we previously did not open the tracer in
question, sometimes causing the trace output to be useless.

For example, the function_graph tracer with tracing_thresh set dumped via
ftrace_dump_on_oops would show a series of '}' indented at different levels,
but no function names.

call trace->open() (and do a few other fixups copied from the normal dump
path) to make the output more intelligible.

Link: http://lkml.kernel.org/r/1382554197-16961-1-git-send-email-cody@linux.vnet.ibm.com
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c