xref: /kernel/linux/linux-6.6/tools/testing/selftests/rcutorture/bin/jitterstop.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/testing/selftests/rcutorture/bin/
162306a36Sopenharmony_ci#!/bin/bash
262306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0+
362306a36Sopenharmony_ci#
462306a36Sopenharmony_ci# Remove the "jittering" file, signaling the jitter.sh scripts to stop,
562306a36Sopenharmony_ci# then wait for them to terminate.
662306a36Sopenharmony_ci#
762306a36Sopenharmony_ci# Usage: . jitterstop.sh jittering-dir
862306a36Sopenharmony_ci#
962306a36Sopenharmony_ci# jittering-dir: Directory containing "jittering" file.
1062306a36Sopenharmony_ci#
1162306a36Sopenharmony_ci# Copyright (C) 2021 Facebook, Inc.
1262306a36Sopenharmony_ci#
1362306a36Sopenharmony_ci# Authors: Paul E. McKenney <paulmck@kernel.org>
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_cijittering_dir=$1
1662306a36Sopenharmony_ciif test -z "$jittering_dir"
1762306a36Sopenharmony_cithen
1862306a36Sopenharmony_ci	echo jitterstop.sh: Missing directory in which to place jittering file.
1962306a36Sopenharmony_ci	exit 34
2062306a36Sopenharmony_cifi
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_cirm -f ${jittering_dir}/jittering
2362306a36Sopenharmony_ciwait
24

Indexes created Thu Nov 07 10:32:03 CST 2024