diff mbox

[RFC,tip/core/rcu,07/28] trace: Allow ftrace_dump() to be called from modules

Message ID 1320265849-5744-7-git-send-email-paulmck@linux.vnet.ibm.com
State Accepted
Commit a8eecf2248a45bf69f0625b23c003ad2ccd765ee
Headers show

Commit Message

Paul E. McKenney Nov. 2, 2011, 8:30 p.m. UTC
From: Paul E. McKenney <paul.mckenney@linaro.org>

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>
---
 kernel/trace/trace.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index e5df02c..a8ccb84 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -4658,6 +4658,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)
 {