diff options
author | Cody P Schafer <cody@linux.vnet.ibm.com> | 2013-10-23 11:49:57 -0700 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-11-06 10:03:11 -0500 |
commit | b2f974d6af9accfec11e69cc76d2ab9f0c7359e0 (patch) | |
tree | 23e54345bd0a6d4ca709bf104ce8f33ed6c44ccb /kernel/trace/trace_functions_graph.c | |
parent | d562aff93bfb530b0992141500a402d17081189d (diff) |
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>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions