aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-06-17 12:06:47 -0700
committerPaul E. McKenney <paulmck@kernel.org>2020-06-29 12:00:46 -0700
commitf71d8311ec278525508dac211de700b2b682a15f (patch)
treec3690b736dc1bec1cfe0c6afe8d2b5a3655a9d19 /tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh
parent1fbeb3a8c4de29433a8d230ee600b13d369b6c0f (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/configs/refscale/ver_functions.sh')
-rw-r--r--tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh b/tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh
new file mode 100644
index 000000000000..321e82641287
--- /dev/null
+++ b/tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Torture-suite-dependent shell functions for the rest of the scripts.
+#
+# Copyright (C) IBM Corporation, 2015
+#
+# Authors: Paul E. McKenney <paulmck@linux.ibm.com>
+
+# per_version_boot_params bootparam-string config-file seconds
+#
+# Adds per-version torture-module parameters to kernels supporting them.
+per_version_boot_params () {
+ echo $1 refscale.shutdown=1 \
+ refscale.verbose=1
+}