summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-11-15 00:55:32 +0300
committerBoqun Feng <boqun.feng@gmail.com>2025-02-05 18:14:39 +0300
commit84ae91018af56184afabb1bc08b5c117a0634e5e (patch)
tree1debef61e02ff6e4889194f91c926c1d417caeb7 /rust/helpers/helpers.c
parentb8726c5aa6e8e0f4e8abc27f0c81db9f294958dc (diff)
downloadlinux-84ae91018af56184afabb1bc08b5c117a0634e5e.tar.xz
rcutorture: Include grace-period sequence numbers in failure/close-call
This commit includes the grace-period sequence numbers at the beginning and end of each segment in the "Failure/close-call rcutorture reader segments" list. These are in hexadecimal, and only the bottom byte. Currently, only RCU is supported, with its three sequence numbers (normal, expedited, and polled). Note that if all the grace-period sequence numbers remain the same across a given reader segment, only one copy of the number will be printed. Of course, if there is a change, both sets of values will be printed. Because the overhead of collecting this information can suppress heisenbugs, this information is collected and printed only in kernels built with CONFIG_RCU_TORTURE_TEST_LOG_GP=y. [ paulmck: Apply Nathan Chancellor feedback for IS_ENABLED(). ] [ paulmck: Apply feedback from kernel test robot. ] Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Tested-by: kernel test robot <oliver.sang@intel.com> Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions