rcu: Augment rcu_batch_end tracing for idle and callback state
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 8 Dec 2011 00:32:40 +0000 (16:32 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Dec 2011 18:32:22 +0000 (10:32 -0800)
commit4968c300e1fa5389fdf1f1ebd8b8e4aec9aa4a9e
tree3424a8c3d2543096acad7319ec57fa8f62813620
parent101db7b41d8d6c070278bca1f7bce814ecbf781d
rcu: Augment rcu_batch_end tracing for idle and callback state

The current rcu_batch_end event trace records only the name of the RCU
flavor and the total number of callbacks that remain queued on the
current CPU.  This is insufficient for testing and tuning the new
dyntick-idle RCU_FAST_NO_HZ code, so this commit adds idle state along
with whether or not any of the callbacks that were ready to invoke
at the beginning of rcu_do_batch() are still queued.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/trace/events/rcu.h
kernel/rcutiny.c
kernel/rcutiny_plugin.h
kernel/rcutree.c