From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 162AFC433DF for ; Fri, 9 Oct 2020 06:39:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B899B22254 for ; Fri, 9 Oct 2020 06:39:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="1hCy6PX5"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="W0F5+hqT" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732367AbgJIGjh (ORCPT ); Fri, 9 Oct 2020 02:39:37 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:55416 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731847AbgJIGfQ (ORCPT ); Fri, 9 Oct 2020 02:35:16 -0400 Date: Fri, 09 Oct 2020 06:35:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1602225314; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=asd0KrTKSDxwIQMdHeW7AX76ynTzDaiSLlENDd72vJA=; b=1hCy6PX52sWzHfWpJ6UREfcGu4Euw8CV/NIv3pfvvtPAqNVprq1N1qrlCkSPnS9zsVQFVw AZqeGwjcgMmcHykRI6yE0tkhcO6SnUIvLYWnSsXjbiEqbLsbM56jeIZxt3jvv+kRefM5Ub wpEDpWn9weO5+TV/8J2UvKiNNSlBia+pHH/m8yxBakhuAEItHQHkZ6+pHDRTkieG/bQfF7 miM2g52xaYoEScOoTmbnA9GSIyIpkP5MiqoVxotW15LXF8ZpgP3Atds+wnPz8FjPQULoPx jcFaslPR/RD/gH9476ixvOMY21SQmMAczob0a/NW/K1+kTtuHRPFSZ/cf7M8YA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1602225314; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=asd0KrTKSDxwIQMdHeW7AX76ynTzDaiSLlENDd72vJA=; b=W0F5+hqT0L0MoV/A4cU1ikKrf8gcuw0IiiVjjfEj6A5PbBkD3UYL48qi2jcqvJQ/NEb29O mM2lK4yk6Ck+SFDA== From: "tip-bot2 for Paul E. McKenney" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: core/rcu] torture: Add kvm.sh --help and update help message Cc: "Paul E. McKenney" , x86 , LKML MIME-Version: 1.0 Message-ID: <160222531341.7002.18057789555792205484.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the core/rcu branch of tip: Commit-ID: 5461808889405de254ab3370aa7f07ac0b6cb938 Gitweb: https://git.kernel.org/tip/5461808889405de254ab3370aa7f07ac0b6cb938 Author: Paul E. McKenney AuthorDate: Sun, 19 Jul 2020 12:17:53 -07:00 Committer: Paul E. McKenney CommitterDate: Mon, 24 Aug 2020 18:45:34 -07:00 torture: Add kvm.sh --help and update help message This commit adds a --help argument (along with its synonym -h) to display the help text. While in the area, this commit also updates the help text. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/kvm.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh index 0a08463..fc15b52 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm.sh @@ -56,17 +56,18 @@ usage () { echo " --defconfig string" echo " --dryrun sched|script" echo " --duration minutes" + echo " --help" echo " --interactive" echo " --jitter N [ maxsleep (us) [ maxspin (us) ] ]" echo " --kconfig Kconfig-options" echo " --kmake-arg kernel-make-arguments" echo " --mac nn:nn:nn:nn:nn:nn" - echo " --memory megabytes | nnnG" + echo " --memory megabytes|nnnG" echo " --no-initrd" echo " --qemu-args qemu-arguments" echo " --qemu-cmd qemu-system-..." echo " --results absolute-pathname" - echo " --torture rcu" + echo " --torture lock|rcu|rcuperf|refscale|scf" echo " --trust-make" exit 1 } @@ -127,6 +128,9 @@ do dur=$(($2*60)) shift ;; + --help|-h) + usage + ;; --interactive) TORTURE_QEMU_INTERACTIVE=1; export TORTURE_QEMU_INTERACTIVE ;;