]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6f3fe43282ccf90eca654a9d3a2cca0e3fe832d
tree2043eeca7d6df62fc0ae918b61abada073f81415
parent7e12fd03a9bcb9fa10bd2e2b02883c2021a6fbe2
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