refscale: Change --torture type from refperf to refscale
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 17 Jun 2020 19:06:47 +0000 (12:06 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:00:46 +0000 (12:00 -0700)
This commit renames the rcutorture config/refperf to config/refscale to
further avoid conflation with the Linux kernel's perf feature.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-recheck-refscale.sh [moved from tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh with 87% similarity]
tools/testing/selftests/rcutorture/bin/kvm.sh
tools/testing/selftests/rcutorture/bin/parse-console.sh
tools/testing/selftests/rcutorture/configs/refscale/CFLIST [moved from tools/testing/selftests/rcutorture/configs/refperf/CFLIST with 100% similarity]
tools/testing/selftests/rcutorture/configs/refscale/CFcommon [moved from tools/testing/selftests/rcutorture/configs/refperf/CFcommon with 100% similarity]
tools/testing/selftests/rcutorture/configs/refscale/NOPREEMPT [moved from tools/testing/selftests/rcutorture/configs/refperf/NOPREEMPT with 100% similarity]
tools/testing/selftests/rcutorture/configs/refscale/PREEMPT [moved from tools/testing/selftests/rcutorture/configs/refperf/PREEMPT with 100% similarity]
tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh [moved from tools/testing/selftests/rcutorture/configs/refperf/ver_functions.sh with 100% similarity]

@@ -1,9 +1,9 @@
 #!/bin/bash
 # 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
 #
@@ -51,7 +51,7 @@ END {
        print configfile " results:";
        newNR = asort(readertimes);
        if (newNR <= 0) {
-               print "No refperf records found???"
+               print "No refscale records found???"
                exit;
        }
        medianidx = int(newNR / 2);
@@ -67,5 +67,5 @@ END {
        print "Minimum reader duration: " readertimes[1];
        print "Median reader duration: " medianvalue;
        print "Maximum reader duration: " readertimes[newNR];
-       print "Computed from refperf printk output.";
+       print "Computed from refscale printk output.";
 }'
index 48b6a72..ce05db3 100755 (executable)
@@ -180,14 +180,14 @@ do
                shift
                ;;
        --torture)
-               checkarg --torture "(suite name)" "$#" "$2" '^\(lock\|rcu\|rcuperf\|refperf\)$' '^--'
+               checkarg --torture "(suite name)" "$#" "$2" '^\(lock\|rcu\|rcuperf\|refscale\)$' '^--'
                TORTURE_SUITE=$2
                shift
-               if test "$TORTURE_SUITE" = rcuperf || test "$TORTURE_SUITE" = refperf
+               if test "$TORTURE_SUITE" = rcuperf || test "$TORTURE_SUITE" = refscale
                then
-                       # If you really want jitter for refperf or
+                       # If you really want jitter for refscale or
                        # 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
                fi
                ;;
index 85af11d..8cb908f 100755 (executable)
@@ -33,8 +33,8 @@ then
 fi
 cat /dev/null > $file.diags
 
-# Check for proper termination, except for rcuperf and refperf.
-if test "$TORTURE_SUITE" != rcuperf && test "$TORTURE_SUITE" != refperf
+# Check for proper termination, except for rcuperf and refscale.
+if test "$TORTURE_SUITE" != rcuperf && test "$TORTURE_SUITE" != refscale
 then
        # check for abject failure