rcu: add grace-period age and more kthread state to tracing
authorPaul E. McKenney <paul.mckenney@linaro.org>
Wed, 6 Apr 2011 23:01:16 +0000 (16:01 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 6 May 2011 06:16:56 +0000 (23:16 -0700)
commit15ba0ba860871cf74b48b1bb47c26c91a66126f3
tree2043eeca7d6df62fc0ae918b61abada073f81415
parenta9f4793d8900dc5dc09b3951bdcd4731290e06fe
rcu: add grace-period age and more kthread state to tracing

This commit adds the age in jiffies of the current grace period along
with the duration in jiffies of the longest grace period since boot
to the rcu/rcugp debugfs file.  It also adds an additional "O" state
to kthread tracing to differentiate between the kthread waiting due to
having nothing to do on the one hand and waiting due to being on the
wrong CPU on the other hand.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/RCU/trace.txt
kernel/rcutree.c
kernel/rcutree.h
kernel/rcutree_trace.c