rcutorture: Output number of elapsed grace periods
authorJoel Fernandes (Google) <joel@joelfernandes.org>
Thu, 18 Jun 2020 20:29:55 +0000 (16:29 -0400)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 25 Aug 2020 01:45:31 +0000 (18:45 -0700)
commit959954df0ca7da2111c3fb67a666681798d15b9d
tree9cdf66eeb6b6024adececc465486e9d92dab804d
parent83224afd11d71e0d6effb86fe1ab5725d5415251
rcutorture: Output number of elapsed grace periods

This commit adds code to print the grace-period number at the start
of the test along with both the grace-period number and the number of
elapsed grace periods at the end of the test.  Note that variants of
RCU)without the notion of a grace-period number (for example, Tiny RCU)
just print zeroes.

[ paulmck: Adjust commit log. ]
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c