rcutorture: Print end-of-test state
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 19 Apr 2018 15:43:11 +0000 (08:43 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 15 May 2018 17:32:08 +0000 (10:32 -0700)
commit034777d7f5c6bc5326184ffa63b7a840ef0e9759
tree04ea165045c633c28db81b2ff15b4765affb8efa
parentd600e06ba73034da215191a90002296a41eb0cf1
rcutorture: Print end-of-test state

This commit adds end-of-test state printout to help check whether RCU
shut down nicely.  Note that this printout only helps for flavors of
RCU that are not used much by the kernel.  In particular, for normal
RCU having a grace period in progress is expected behavior.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Nicholas Piggin <npiggin@gmail.com>
kernel/rcu/rcutorture.c