summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/rcutorture/configs/rcuscale/ver_functions.sh
blob: b78ddc243d89128cd4c2f435a1e150e6ae03f151 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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	rcuscale.shutdown_secs=$3 \
		rcuscale.verbose=0 \
		$1
}