rcutorture: Dump grace-period state upon rtort_pipe_count incidents
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 15 May 2023 16:18:20 +0000 (09:18 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 14 Jul 2023 22:04:09 +0000 (15:04 -0700)
commit9cafe974cf46425c18cf78971400ae12e416e166
tree09dc086a9f1ebf42bfafad53b8479c1a9ba13f04
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
rcutorture: Dump grace-period state upon rtort_pipe_count incidents

The rtort_pipe_count WARN() indicates that grace periods were unable
to invoke all callbacks during a stutter_wait() interval.  But it is
sometimes helpful to have a bit more information as to why.  This commit
therefore invokes show_rcu_gp_kthreads() immediately before that WARN()
in order to dump out some relevant information.

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