diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2011-10-02 14:01:15 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-12-11 13:31:25 -0500 |
commit | a8eecf2248a45bf69f0625b23c003ad2ccd765ee (patch) | |
tree | 170e96d6a6cf26da8751ec98f59c81adc28717e6 /kernel/trace | |
parent | 9b2e4f1880b789be1f24f9684f7a54b90310b5c0 (diff) |
trace: Allow ftrace_dump() to be called from modules
Add an EXPORT_SYMBOL_GPL() so that rcutorture can dump the trace buffer
upon detection of an RCU error.
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index f2bd275bb60f..a043d224adf6 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -4775,6 +4775,7 @@ void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) | |||
4775 | { | 4775 | { |
4776 | __ftrace_dump(true, oops_dump_mode); | 4776 | __ftrace_dump(true, oops_dump_mode); |
4777 | } | 4777 | } |
4778 | EXPORT_SYMBOL_GPL(ftrace_dump); | ||
4778 | 4779 | ||
4779 | __init static int tracer_alloc_buffers(void) | 4780 | __init static int tracer_alloc_buffers(void) |
4780 | { | 4781 | { |