diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2011-10-02 20:01:15 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-12-11 19:31:25 +0100 |
commit | a8eecf2248a45bf69f0625b23c003ad2ccd765ee (patch) | |
tree | 170e96d6a6cf26da8751ec98f59c81adc28717e6 | |
parent | rcu: Track idleness independent of idle tasks (diff) | |
download | linux-a8eecf2248a45bf69f0625b23c003ad2ccd765ee.tar.xz linux-a8eecf2248a45bf69f0625b23c003ad2ccd765ee.zip |
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>
-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) { __ftrace_dump(true, oops_dump_mode); } +EXPORT_SYMBOL_GPL(ftrace_dump); __init static int tracer_alloc_buffers(void) { |