Commit f71d8311 authored by Paul E. McKenney's avatar Paul E. McKenney

refscale: Change --torture type from refperf to refscale

This commit renames the rcutorture config/refperf to config/refscale to
further avoid conflation with the Linux kernel's perf feature.
Reported-by: default avatarIngo Molnar <mingo@kernel.org>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 1fbeb3a8
#!/bin/bash #!/bin/bash
# SPDX-License-Identifier: GPL-2.0+ # SPDX-License-Identifier: GPL-2.0+
# #
# Analyze a given results directory for refperf performance measurements. # Analyze a given results directory for refscale performance measurements.
# #
# Usage: kvm-recheck-refperf.sh resdir # Usage: kvm-recheck-refscale.sh resdir
# #
# Copyright (C) IBM Corporation, 2016 # Copyright (C) IBM Corporation, 2016
# #
...@@ -51,7 +51,7 @@ END { ...@@ -51,7 +51,7 @@ END {
print configfile " results:"; print configfile " results:";
newNR = asort(readertimes); newNR = asort(readertimes);
if (newNR <= 0) { if (newNR <= 0) {
print "No refperf records found???" print "No refscale records found???"
exit; exit;
} }
medianidx = int(newNR / 2); medianidx = int(newNR / 2);
...@@ -67,5 +67,5 @@ END { ...@@ -67,5 +67,5 @@ END {
print "Minimum reader duration: " readertimes[1]; print "Minimum reader duration: " readertimes[1];
print "Median reader duration: " medianvalue; print "Median reader duration: " medianvalue;
print "Maximum reader duration: " readertimes[newNR]; print "Maximum reader duration: " readertimes[newNR];
print "Computed from refperf printk output."; print "Computed from refscale printk output.";
}' }'
...@@ -180,14 +180,14 @@ do ...@@ -180,14 +180,14 @@ do
shift shift
;; ;;
--torture) --torture)
checkarg --torture "(suite name)" "$#" "$2" '^\(lock\|rcu\|rcuperf\|refperf\)$' '^--' checkarg --torture "(suite name)" "$#" "$2" '^\(lock\|rcu\|rcuperf\|refscale\)$' '^--'
TORTURE_SUITE=$2 TORTURE_SUITE=$2
shift shift
if test "$TORTURE_SUITE" = rcuperf || test "$TORTURE_SUITE" = refperf if test "$TORTURE_SUITE" = rcuperf || test "$TORTURE_SUITE" = refscale
then then
# If you really want jitter for refperf or # If you really want jitter for refscale or
# rcuperf, specify it after specifying the rcuperf # rcuperf, specify it after specifying the rcuperf
# or the refperf. (But why jitter in these cases?) # or the refscale. (But why jitter in these cases?)
jitter=0 jitter=0
fi fi
;; ;;
......
...@@ -33,8 +33,8 @@ then ...@@ -33,8 +33,8 @@ then
fi fi
cat /dev/null > $file.diags cat /dev/null > $file.diags
# Check for proper termination, except for rcuperf and refperf. # Check for proper termination, except for rcuperf and refscale.
if test "$TORTURE_SUITE" != rcuperf && test "$TORTURE_SUITE" != refperf if test "$TORTURE_SUITE" != rcuperf && test "$TORTURE_SUITE" != refscale
then then
# check for abject failure # check for abject failure
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment