diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-06-17 12:06:47 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-06-29 12:00:46 -0700 |
commit | f71d8311ec278525508dac211de700b2b682a15f (patch) | |
tree | c3690b736dc1bec1cfe0c6afe8d2b5a3655a9d19 /tools/testing/selftests/rcutorture | |
parent | 1fbeb3a8c4de29433a8d230ee600b13d369b6c0f (diff) |
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: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture')
-rwxr-xr-x | tools/testing/selftests/rcutorture/bin/kvm-recheck-refscale.sh (renamed from tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh) | 8 | ||||
-rwxr-xr-x | tools/testing/selftests/rcutorture/bin/kvm.sh | 8 | ||||
-rwxr-xr-x | tools/testing/selftests/rcutorture/bin/parse-console.sh | 4 | ||||
-rw-r--r-- | tools/testing/selftests/rcutorture/configs/refscale/CFLIST (renamed from tools/testing/selftests/rcutorture/configs/refperf/CFLIST) | 0 | ||||
-rw-r--r-- | tools/testing/selftests/rcutorture/configs/refscale/CFcommon (renamed from tools/testing/selftests/rcutorture/configs/refperf/CFcommon) | 0 | ||||
-rw-r--r-- | tools/testing/selftests/rcutorture/configs/refscale/NOPREEMPT (renamed from tools/testing/selftests/rcutorture/configs/refperf/NOPREEMPT) | 0 | ||||
-rw-r--r-- | tools/testing/selftests/rcutorture/configs/refscale/PREEMPT (renamed from tools/testing/selftests/rcutorture/configs/refperf/PREEMPT) | 0 | ||||
-rw-r--r-- | tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh (renamed from tools/testing/selftests/rcutorture/configs/refperf/ver_functions.sh) | 0 |
8 files changed, 10 insertions, 10 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh b/tools/testing/selftests/rcutorture/bin/kvm-recheck-refscale.sh index 0e29cfd9986c..35a463dddffe 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck-refscale.sh @@ -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."; }' diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh index 48b6a7248f50..ce05db324057 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm.sh @@ -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 ;; diff --git a/tools/testing/selftests/rcutorture/bin/parse-console.sh b/tools/testing/selftests/rcutorture/bin/parse-console.sh index 85af11d2d0cb..8cb908fb852b 100755 --- a/tools/testing/selftests/rcutorture/bin/parse-console.sh +++ b/tools/testing/selftests/rcutorture/bin/parse-console.sh @@ -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 diff --git a/tools/testing/selftests/rcutorture/configs/refperf/CFLIST b/tools/testing/selftests/rcutorture/configs/refscale/CFLIST index 4d62eb4a39f9..4d62eb4a39f9 100644 --- a/tools/testing/selftests/rcutorture/configs/refperf/CFLIST +++ b/tools/testing/selftests/rcutorture/configs/refscale/CFLIST diff --git a/tools/testing/selftests/rcutorture/configs/refperf/CFcommon b/tools/testing/selftests/rcutorture/configs/refscale/CFcommon index a98b58b54bb1..a98b58b54bb1 100644 --- a/tools/testing/selftests/rcutorture/configs/refperf/CFcommon +++ b/tools/testing/selftests/rcutorture/configs/refscale/CFcommon diff --git a/tools/testing/selftests/rcutorture/configs/refperf/NOPREEMPT b/tools/testing/selftests/rcutorture/configs/refscale/NOPREEMPT index 1cd25b7314e3..1cd25b7314e3 100644 --- a/tools/testing/selftests/rcutorture/configs/refperf/NOPREEMPT +++ b/tools/testing/selftests/rcutorture/configs/refscale/NOPREEMPT diff --git a/tools/testing/selftests/rcutorture/configs/refperf/PREEMPT b/tools/testing/selftests/rcutorture/configs/refscale/PREEMPT index d10bc694f42c..d10bc694f42c 100644 --- a/tools/testing/selftests/rcutorture/configs/refperf/PREEMPT +++ b/tools/testing/selftests/rcutorture/configs/refscale/PREEMPT diff --git a/tools/testing/selftests/rcutorture/configs/refperf/ver_functions.sh b/tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh index 321e82641287..321e82641287 100644 --- a/tools/testing/selftests/rcutorture/configs/refperf/ver_functions.sh +++ b/tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh |