Skip to content

Commit f71d831

Browse files
committed
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 <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 1fbeb3a commit f71d831

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh renamed to tools/testing/selftests/rcutorture/bin/kvm-recheck-refscale.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/bash
22
# SPDX-License-Identifier: GPL-2.0+
33
#
4-
# Analyze a given results directory for refperf performance measurements.
4+
# Analyze a given results directory for refscale performance measurements.
55
#
6-
# Usage: kvm-recheck-refperf.sh resdir
6+
# Usage: kvm-recheck-refscale.sh resdir
77
#
88
# Copyright (C) IBM Corporation, 2016
99
#
@@ -51,7 +51,7 @@ END {
5151
print configfile " results:";
5252
newNR = asort(readertimes);
5353
if (newNR <= 0) {
54-
print "No refperf records found???"
54+
print "No refscale records found???"
5555
exit;
5656
}
5757
medianidx = int(newNR / 2);
@@ -67,5 +67,5 @@ END {
6767
print "Minimum reader duration: " readertimes[1];
6868
print "Median reader duration: " medianvalue;
6969
print "Maximum reader duration: " readertimes[newNR];
70-
print "Computed from refperf printk output.";
70+
print "Computed from refscale printk output.";
7171
}'

tools/testing/selftests/rcutorture/bin/kvm.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,14 @@ do
180180
shift
181181
;;
182182
--torture)
183-
checkarg --torture "(suite name)" "$#" "$2" '^\(lock\|rcu\|rcuperf\|refperf\)$' '^--'
183+
checkarg --torture "(suite name)" "$#" "$2" '^\(lock\|rcu\|rcuperf\|refscale\)$' '^--'
184184
TORTURE_SUITE=$2
185185
shift
186-
if test "$TORTURE_SUITE" = rcuperf || test "$TORTURE_SUITE" = refperf
186+
if test "$TORTURE_SUITE" = rcuperf || test "$TORTURE_SUITE" = refscale
187187
then
188-
# If you really want jitter for refperf or
188+
# If you really want jitter for refscale or
189189
# rcuperf, specify it after specifying the rcuperf
190-
# or the refperf. (But why jitter in these cases?)
190+
# or the refscale. (But why jitter in these cases?)
191191
jitter=0
192192
fi
193193
;;

tools/testing/selftests/rcutorture/bin/parse-console.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ then
3333
fi
3434
cat /dev/null > $file.diags
3535

36-
# Check for proper termination, except for rcuperf and refperf.
37-
if test "$TORTURE_SUITE" != rcuperf && test "$TORTURE_SUITE" != refperf
36+
# Check for proper termination, except for rcuperf and refscale.
37+
if test "$TORTURE_SUITE" != rcuperf && test "$TORTURE_SUITE" != refscale
3838
then
3939
# check for abject failure
4040

0 commit comments

Comments
 (0)