]> git.baikalelectronics.ru Git - kernel.git/commit
torture: Make --kcsan argument also create a summary
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 9 Apr 2020 17:29:32 +0000 (10:29 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 7 May 2020 17:15:29 +0000 (10:15 -0700)
commitffb5328e645f508071ddb0e00288d524a7272220
tree51a1eff4f8522a4f56e1955ed55a400d28850afe
parent901acfc70503cc4474b32ff7afe7eca777711fb8
torture: Make --kcsan argument also create a summary

The KCSAN tool emits a great many warnings for current kernels, for
example, a one-hour run of the full set of rcutorture scenarios results
in no fewer than 3252 such warnings, many of which are duplicates
or are otherwise closely related.  This commit therefore introduces
a kcsan-collapse.sh script that maps these warnings down to a set of
function pairs (22 of them given the 3252 individual warnings), placing
the resulting list in decreasing order of frequency of occurrence into
a kcsan.sum file.  If any KCSAN warnings were produced, the pathname of
this file is emitted at the end of the summary of the rcutorture runs.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kcsan-collapse.sh [new file with mode: 0755]
tools/testing/selftests/rcutorture/bin/kvm-recheck.sh
tools/testing/selftests/rcutorture/bin/kvm.sh