trace: Allow ftrace_dump() to be called from modules
authorPaul E. McKenney <paul.mckenney@linaro.org>
Sun, 2 Oct 2011 18:01:15 +0000 (11:01 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Dec 2011 18:31:25 +0000 (10:31 -0800)
commita8eecf2248a45bf69f0625b23c003ad2ccd765ee
tree170e96d6a6cf26da8751ec98f59c81adc28717e6
parent9b2e4f1880b789be1f24f9684f7a54b90310b5c0
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>
kernel/trace/trace.c