rcu: Turn off tracing before dumping trace
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 31 Aug 2017 23:47:08 +0000 (16:47 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 9 Oct 2017 21:25:17 +0000 (14:25 -0700)
commit83b6ca1fede773eebcdfb44f5a94eb410d48b886
treeab005f3313b5d56efe7cbf7757b24c8a1ca190e2
parent9b9500da81502738efa1b485a8835f174ff7be6d
rcu: Turn off tracing before dumping trace

Currently, RCU allows tracing to continue when it automatically does
ftrace_dump() after detecting an error condition, which can result in
excessively large traces and lost trace events.  This commit therefore
does a tracing_off() before any of these ftrace_dump() calls.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcu.h