linux/kernel/rcu
Paul E. McKenney c116dba68d rcutorture: Dump reader protection sequence if failures or close calls
Now that RCU can have readers with multiple segments, it is quite
possible that a specific sequence of reader segments might result in
an rcutorture failure (reader spans a full grace period as detected
by one of the grace-period primitives) or an rcutorture close call
(reader potentially spans a full grace period based on reading out
the RCU implementation's grace-period counter, but with no ordering).
In such cases, it would clearly ease debugging if the offending specific
sequence was known.  For the first reader encountering a failure or a
close call, this commit therefore dumps out the segments, delay durations,
and whether or not the reader was preempted.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
[ paulmck: Mark variables static, as suggested by kbuild test robot. ]
2018-08-30 16:03:40 -07:00
..
Kconfig rcu: Clean up flavor-related definitions and comments in Kconfig 2018-08-30 16:03:32 -07:00
Kconfig.debug rcu: Move RCU debug Kconfig options to kernel/rcu 2017-06-08 18:52:44 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rcu_segcblist.c rcu: Simplify and inline cpu_needs_another_gp() 2018-05-15 10:30:59 -07:00
rcu_segcblist.h rcu: Simplify and inline cpu_needs_another_gp() 2018-05-15 10:30:59 -07:00
rcu.h rcu: Clean up flavor-related definitions and comments in rcu.h 2018-08-30 16:03:33 -07:00
rcuperf.c rcuperf: Remove the "rcu_bh" and "sched" torture types 2018-08-30 16:03:30 -07:00
rcutorture.c rcutorture: Dump reader protection sequence if failures or close calls 2018-08-30 16:03:40 -07:00
srcutiny.c sched/swait: Rename to exclusive 2018-06-20 11:35:56 +02:00
srcutree.c rcu: Clean up flavor-related definitions and comments in srcutree.h 2018-08-30 16:03:34 -07:00
sync.c doc: Fix various RCU docbook comment-header problems 2017-10-19 22:26:11 -04:00
tiny.c rcu: Clean up flavor-related definitions and comments in tiny.c 2018-08-30 16:03:34 -07:00
tree_exp.h rcu: Clean up flavor-related definitions and comments in tree_exp.h 2018-08-30 16:03:35 -07:00
tree_plugin.h rcu: Inline _rcu_barrier() into its sole remaining caller 2018-08-30 16:03:39 -07:00
tree.c rcu: Provide improved interrupt-from-idle check in rcu_check_callbacks() 2018-08-30 16:03:39 -07:00
tree.h rcu: Inline _rcu_barrier() into its sole remaining caller 2018-08-30 16:03:39 -07:00
update.c rcu: Clean up flavor-related definitions and comments in update.c 2018-08-30 16:03:36 -07:00