Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp79129rdg; Tue, 10 Oct 2023 05:01:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+1S+Lf1yrPRmOW2OAsehH2S4/pXUW7AxfjS69ASSQsRLWuSFjIk29hOKpZnvys1C8167T X-Received: by 2002:a17:90a:5994:b0:27c:ef18:d270 with SMTP id l20-20020a17090a599400b0027cef18d270mr933305pji.20.1696939310583; Tue, 10 Oct 2023 05:01:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696939310; cv=none; d=google.com; s=arc-20160816; b=nM/dTEbkQuZjf7UPdr6gFwVTrpVmRr/akh8i+OXw1PJNH3FIRRBNUtTwRYqphTr2YO 5qBdg9n/GFnSbECdzqD+7jNQCzC2C0hhZ57hEGOKQyKIJG1wpmvqzmnm3XrU9x2Kak9h OpmlHhzTK71i+cQwgCj6aeS9e4ptJYECvS5D8VhCSKeAToVM4iU+4lQCXrtlL1RQGIoI 7eZplYk9GVVbrX/EBASI+EjpuLX2gCkF5xY0oyyj57UKiXA5xQChfyiCObIXRK2hRjAA Em6f/LkS9EPvjJP1GaHNM1dQlQozuVdEV8NIuZa9kIcnGUH40f/GH6hJTc3r3u92VQ4a mg0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OUEHZ6l9qPeuHgI0y3PxhiCtw/ldxMrJvqLWuTsAp1I=; fh=9o1vzmbQvXEiiOZAoGEKGHmVR4Ieb6r+octdNZgYFWA=; b=UIxz12NIg5kGTWDqfo3x0iKCaIngk8RTWy4jg9HjT0m8NR+Gx4xhN9dvDJE3zUslue lNZQiInYkg4f3W2Ksw9XCeHf065eSEBfhbtMTTV/I1oZqwKSN52JEriZsaYaoA3RualK baQMSVXYaG4LwOPoh7LeC2BCmeddZxQ5FQTDMHZ88vl1Ascm9jeABcuBHELvmCmWnDQm TXhCe9uQnNWN21l2C5m3GVMsNnC0MXA6UfJUAt5hqQgiwD7d5VTaOT8qYHnjPtQvHYWG jCm7wsM9cDV6QrDkJSkWj/uPa5dVhTJUC3pMsav1wKxdGDzF51Vy0Q6eJsnrdf74y59a SklQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EOjjiJxH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id c4-20020a17090ad90400b00273ce975beesi11716212pjv.114.2023.10.10.05.01.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 05:01:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EOjjiJxH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 94941815A1E3; Tue, 10 Oct 2023 05:01:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231838AbjJJMBB (ORCPT + 99 others); Tue, 10 Oct 2023 08:01:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231837AbjJJMA3 (ORCPT ); Tue, 10 Oct 2023 08:00:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 151071B4; Tue, 10 Oct 2023 05:00:10 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E30CC433CC; Tue, 10 Oct 2023 12:00:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696939210; bh=/Z5ZKEkqeX88LkvGvhKdpELWee2yXXovMScGD9Eqo9c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EOjjiJxH+QRs1qhHXeGnAKLSQq4UPKjSxBp/Nea681WLA2DKgUJbjwI5i1okReCW2 ulaK5X5oxxUjNNlqbQOkRNLr5wyIsiC4mt8SCJO40UGroE7gLTNxb+m0vwe1mbQM7G TuQLD8CKudBSRUW+6zQ7yWnUrKLEcrH2YdaowKBxQT00AIETb8MYwbKwHf3mz2LK69 Tp8LImOYc8+EgIaFyo7LUOzGlLzsj0aAvFhFBrwiQcHH45hAyL/zRzytmzsL/LBm9l ar9iwX3bTxCKY+4nD58Aae/YX0EO7+AisoljosRmQjowt//AyOccZLz8eux+EoNL0w 12mpHqN5KvbmA== From: Frederic Weisbecker To: LKML Cc: "Paul E. McKenney" , Boqun Feng , Joel Fernandes , Josh Triplett , Mathieu Desnoyers , Neeraj Upadhyay , Steven Rostedt , Uladzislau Rezki , rcu , Frederic Weisbecker Subject: [PATCH 13/23] torture: Print out torture module parameters Date: Tue, 10 Oct 2023 13:59:11 +0200 Message-Id: <20231010115921.988766-14-frederic@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231010115921.988766-1-frederic@kernel.org> References: <20231010115921.988766-1-frederic@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 10 Oct 2023 05:01:15 -0700 (PDT) From: "Paul E. McKenney" The kernel/torture.c module now has several module parameters, so this commit causes them to be printed out. Signed-off-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker --- kernel/torture.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kernel/torture.c b/kernel/torture.c index fd353f98162f..c72ab2d251f4 100644 --- a/kernel/torture.c +++ b/kernel/torture.c @@ -791,6 +791,13 @@ static void torture_stutter_cleanup(void) stutter_task = NULL; } +static void +torture_print_module_parms(void) +{ + pr_alert("torture module --- %s: disable_onoff_at_boot=%d ftrace_dump_at_shutdown=%d verbose_sleep_frequency=%d verbose_sleep_duration=%d random_shuffle=%d\n", + torture_type, disable_onoff_at_boot, ftrace_dump_at_shutdown, verbose_sleep_frequency, verbose_sleep_duration, random_shuffle); +} + /* * Initialize torture module. Please note that this is -not- invoked via * the usual module_init() mechanism, but rather by an explicit call from @@ -813,6 +820,7 @@ bool torture_init_begin(char *ttype, int v) torture_type = ttype; verbose = v; fullstop = FULLSTOP_DONTSTOP; + torture_print_module_parms(); return true; } EXPORT_SYMBOL_GPL(torture_init_begin); -- 2.34.1