OSDN Git Service

torture: Record jitter start/stop commands
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 16 Feb 2021 23:32:23 +0000 (15:32 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 22 Mar 2021 15:29:16 +0000 (08:29 -0700)
commit7831b391fbf86d19ae92e2984a9274b1d2b4eb06
tree58bb9ea5302d954fcf5b842b3798b8e1652930ee
parentd53f52d6fc220ba2074338ce6a91f837c7a7cba0
torture: Record jitter start/stop commands

Distributed runs of rcutorture will need to start and stop jittering on
the remote hosts, which means that the commands must be communicated to
those hosts.  The commit therefore causes kvm.sh to place these commands
in new TORTURE_JITTER_START and TORTURE_JITTER_STOP environment variables
to communicate them to the scripts that will set this up.  In addition,
this commit causes kvm-test-1-run.sh to append these commands to each
generated qemu-cmd file, which allows any remotely executing script to
extract the needed commands from this file.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh
tools/testing/selftests/rcutorture/bin/kvm.sh