rcu: Add callbacks-invoked counters
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 1 May 2020 23:49:48 +0000 (16:49 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 18:58:49 +0000 (11:58 -0700)
commite816d56fad57ba9817cef6606b12f5e14647c3bf
tree246c1262e13082eb2356f31fc092cdf06a6f84c8
parentabfce0414814149f716e1d30da1fb3140d1b3473
rcu: Add callbacks-invoked counters

This commit adds a count of the callbacks invoked to the per-CPU rcu_data
structure.  This count is printed by the show_rcu_gp_kthreads() that
is invoked by rcutorture and the RCU CPU stall-warning code.  It is also
intended for use by drgn.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c
kernel/rcu/tree.h
kernel/rcu/tree_stall.h