Commit 45c7b962 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcuscale: Avoid divide by zero



The rcuscale test module does not use batches, so there is only
ever one batch.  This commit therefore informs the kvm-recheck-rcuscale.sh
script of this fact of life.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 899f317e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ sed -e 's/^\[[^]]*]//' < $i/console.log |
awk '
/-scale: .* gps: .* batches:/ {
	ngps = $9;
	nbatches = $11;
	nbatches = 1;
}

/-scale: .*writer-duration/ {