diff options
author | Cody P Schafer <[email protected]> | 2013-10-23 11:49:57 -0700 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2013-11-06 10:03:11 -0500 |
commit | b2f974d6af9accfec11e69cc76d2ab9f0c7359e0 (patch) | |
tree | 23e54345bd0a6d4ca709bf104ce8f33ed6c44ccb /lib/test-string_helpers.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/[email protected]
Signed-off-by: Cody P Schafer <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions