Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5930044rwp; Mon, 17 Jul 2023 11:46:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlFX0KTJNbAosohhF+FgdNcAoDPJzqWAas9gmBChGnQqvQXPbBcdPuUG8MFjxwXTbc54AQu0 X-Received: by 2002:a17:90b:4c45:b0:263:fa04:4f53 with SMTP id np5-20020a17090b4c4500b00263fa044f53mr10213339pjb.2.1689619560009; Mon, 17 Jul 2023 11:46:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689619559; cv=none; d=google.com; s=arc-20160816; b=ABnxY7/gsEb5EZJIlnZ1nayjU8+ALcmZGdZBPpeYGD5ppgd1Pk2qpUNHxly4kWIt/S 6I5h2OqA0Nb/RJ5IfS4PSjb99/CFHeOxfJszjyACTBuK8SxwLU9qj9ZAH2L4Gd4QljW9 6oHJrFxtz0Ir+R2OZUvHS1w59sTkcvcFDKupVE2SqdiutdkBhRBSJsxJyPvKZHzPfzXq UGCWYjh1Cgh4HVeMaJEt3eiP+0b4THiHoxUNzg5e+VRu80mBDboaP609fD42aixWt43h qLJuq78k6zWdszweclcn7h/j7kcEtdA81bjwORFJnWJ91FUwKJmyTe21lUs4MohbcuoK ShmA== 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=im55PSM+z6YUkgIDDS58VVuwDcd5NAdpYvuiM/aMrqs=; fh=Ag0RbRk3LxdpQ9OdMLAf8hbnmFe6FOAHRGAvgVTwgEc=; b=oNjrpRHGvbrHY2i7MBPlCtde7XJW9O+/AQI+A6fC9afpB64UqVbsfHUzhRl9EdhNk/ /4tbQAN8Td/pOK78lHRE7AKkiUDhys38JG2cU5W7RVf/Lw+HSmLeBRXSHEeWV/YOQHuw BARBhpOCAu0+NSLrEkan1tRvcrw7CRbFqJRJTg/6fOE5pG1GHGuwc14rNnKvNxbqTrv+ bV+mYlO6Z5HIEjsWSYsyHHWgDNlpdoZ6zj/tktUY/MulEyIeYYCOBefILI+BUiTC5++X amMrXrVEq38d03hbRNhJhWdm/0rEQYS/w5aDJ8z//HpYfuc6ADE9hRXBfkQpwkuNyIh+ DgAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="l/OP8ZTj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qe13-20020a17090b4f8d00b0025943bb2873si264696pjb.136.2023.07.17.11.45.46; Mon, 17 Jul 2023 11:45:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="l/OP8ZTj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230084AbjGQSYi (ORCPT + 99 others); Mon, 17 Jul 2023 14:24:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231329AbjGQSYF (ORCPT ); Mon, 17 Jul 2023 14:24:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AACE910F8; Mon, 17 Jul 2023 11:23:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D755B61212; Mon, 17 Jul 2023 18:23:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DA44C4166B; Mon, 17 Jul 2023 18:23:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689618220; bh=3SlSO2EdZjLKsVLxRk72FEmGSeV0baDSzGnzmAsGLsY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l/OP8ZTjzoPEGKO04yM1zc6mT+fOkxi5aXozyqsu5jlsMv5exGYDCiIyRpdcrxTQA wg3eVol23uQ1diLiFxybHI4NLidIJT09O6CVx1Xtm1c2tZj8ZNvXl34fXrZupbsvdT msHDuNxKb9fodoX+pq7HVOiqvWaTm0cGdBxXVm0PdSiJVmAqo5rvR3HhBxrao2t5M5 5um1aB/nWmJKgRndPydTv8/L87FdSq8Fqc0rrSQnzyYRm4qt3MtZJ5z659L0tomoBd Lr6TF9cSRyMtdL45OStsAmk/nz2wCx/lkJOpjHRzX+wUvT0jpZL1k7sZk3k6B8EPlE rRfL8Y7irlAPQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 431B1CE0AD3; Mon, 17 Jul 2023 11:23:39 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 17/18] torture: Make init program dump command-line arguments Date: Mon, 17 Jul 2023 11:23:36 -0700 Message-Id: <20230717182337.1098991-17-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 This commit causes the init program generated by mkinitrd.sh dump out its parameters. Although this is in some sense redundant given that the kernel already dumps them out, confirmation can be a good thing. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/mkinitrd.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh index e7e23615dbe3..a5a483efa5ba 100755 --- a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh +++ b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh @@ -33,12 +33,16 @@ cat > init.c << '___EOF___' volatile unsigned long delaycount; -int main(int argc, int argv[]) +int main(int argc, char *argv[]) { int i; struct timeval tv; struct timeval tvb; + printf("Torture-test rudimentary init program started, command line:\n"); + for (i = 0; i < argc; i++) + printf(" %s", argv[i]); + printf("\n"); for (;;) { sleep(1); /* Need some userspace time. */ -- 2.40.1