rcutorture: Upper case solves the case of the vanishing NULL pointer
authorPaul E. McKenney <paulmck@linux.ibm.com>
Sat, 25 May 2019 19:36:53 +0000 (12:36 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 28 May 2019 16:06:09 +0000 (09:06 -0700)
commit354ea05d0276384045fabbfd62ccd2d985defa9e
treeb3a22769d95230c9161de005470a74be622cbb6a
parent8997e6311ed6cb95be34409bc6b4a11c7a84ac35
rcutorture: Upper case solves the case of the vanishing NULL pointer

Various security techniques can obfuscate pointer printouts on the
console.  Unfortunately, rcutorture relies on either "null" or all zeroes
to identify the last few statistics printouts at the end of the test.
These need to be identified because failing to do so will results in
false-positive complaints about grace-period hangs.

This commit therefore prints the "ver:" in capitals ("VER:") when
the RCU-protected pointer has been set to NULL, which causes rcutorture's
parse-console.sh script to correctly ignore these lines.

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