rcutorture: Record grace periods in forward-progress histogram
authorPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 8 Jan 2019 21:41:26 +0000 (13:41 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 25 Jan 2019 23:37:09 +0000 (15:37 -0800)
commitcd618d102b753a3f6823b297ac5c5d03d4e7f0c2
treeb48bf8e59c6f99bb20b637aec040f008e926b21e
parent7a968bb26a9b09b6e44c48a8036a73e0bc497dbc
rcutorture: Record grace periods in forward-progress histogram

This commit records grace periods in rcutorture's n_launders_hist[]
histogram, thus allowing rcu_torture_fwd_cb_hist() to print out the
elapsed number of grace periods between buckets.  This information
helps to determine whether a lack of forward progress is due to stalled
grace periods on the one hand or due to sluggish callback invocation on
the other.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
kernel/rcu/rcutorture.c