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
# 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.";
}'
......@@ -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
;;
......
......@@ -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
......
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