rcu: Add tracing of normal (non-NOCB) grace-period requests
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 9 Aug 2013 23:02:09 +0000 (16:02 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 23 Sep 2013 16:18:08 +0000 (09:18 -0700)
commitbb311eccbdab974639263060b8452bf304af0b0c
tree0265d33c06302fba42157e2b231862fce7de6766
parent63c4db78e80407976e47bccaa2a4d8251b5a10bc
rcu: Add tracing of normal (non-NOCB) grace-period requests

This commit adds tracing to the normal grace-period request points.
These are rcu_gp_cleanup(), which checks for the need for another
grace period at the end of the previous grace period, and
rcu_start_gp_advanced(), which restarts RCU's state machine after
an idle period.  These trace events are intended to help track down
bugs where RCU remains idle despite there being work for it to do.

Reported-by: Clark Williams <williams@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/trace/events/rcu.h
kernel/rcutree.c