Skip to content

Commit a8eecf2

Browse files
Paul E. McKenneypaulmck
authored andcommitted
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>
1 parent 9b2e4f1 commit a8eecf2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎kernel/trace/trace.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4775,6 +4775,7 @@ void ftrace_dump(enum ftrace_dump_mode oops_dump_mode)
47754775
{
47764776
__ftrace_dump(true, oops_dump_mode);
47774777
}
4778+
EXPORT_SYMBOL_GPL(ftrace_dump);
47784779

47794780
__init static int tracer_alloc_buffers(void)
47804781
{

0 commit comments

Comments
 (0)