]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95593dc582a4884978e4a2da339295df113ac0b1
treeab005f3313b5d56efe7cbf7757b24c8a1ca190e2
parent972ce4b01eb93e585960e1e8e432d59873de2ae6
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