diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2011-10-02 11:01:15 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-12-11 10:31:25 -0800 |
commit | a8eecf2248a45bf69f0625b23c003ad2ccd765ee (patch) | |
tree | 170e96d6a6cf26da8751ec98f59c81adc28717e6 /kernel/trace/trace.c | |
parent | 9b2e4f1880b789be1f24f9684f7a54b90310b5c0 (diff) | |
download | op-kernel-dev-a8eecf2248a45bf69f0625b23c003ad2ccd765ee.zip op-kernel-dev-a8eecf2248a45bf69f0625b23c003ad2ccd765ee.tar.gz |
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/trace.c')
-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 f2bd275..a043d22 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) { |