Skip to content

Commit

Permalink
refscale: Change --torture type from refperf to refscale
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul E. McKenney committed Jun 29, 2020
1 parent 1fbeb3a commit f71d831
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down Expand Up @@ -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);
Expand All @@ -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.";
}'
8 changes: 4 additions & 4 deletions tools/testing/selftests/rcutorture/bin/kvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down
4 changes: 2 additions & 2 deletions tools/testing/selftests/rcutorture/bin/parse-console.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f71d831

Please sign in to comment.