Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp169945rwl; Wed, 4 Jan 2023 17:11:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXs5P5QuX0PeZYBOhMasuHCIBuLT+eSyVtThY+wJa1CpDJ0mhtcfU5r/H4RDFvTVhEJI3mc8 X-Received: by 2002:a17:90a:9304:b0:223:fcc8:d7dd with SMTP id p4-20020a17090a930400b00223fcc8d7ddmr52953780pjo.30.1672881067513; Wed, 04 Jan 2023 17:11:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672881067; cv=none; d=google.com; s=arc-20160816; b=DVYKLG2v6+ItGe6E8wp5f/qxMkheHHG9NA4b1yJb3ApaKzHKcRTeiSMuqEGQN3R/jB KgHGMWIox5KeHIgzU0+6nkdIhy+auNoQyFqBoVm3qsni3nQvzA08aKMNuHmcrtbLBk/Q D5dqJoLetxxK0BnyqmfwsJzF5nZQ2dI+cfpVfhzmnQ4cWG6iSq0+rIZmwUxOoQaflg7d DHfBC9pfNRStXRiDxNcJwYviXPSFQj3U/JyfcWy8JxBdz4SR6DY6UWGO0PSl/3YTclf5 LE5Eqq4qT2b1Lym6uMs9ZaDUUz4uGI8MvHCZJt85+VhZZZ7TxdH0ydefrqz0TV3Nkslj gkNg== 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=8lZsXHQpMiXs69sLVGxv7/oPjHGwlTlcDDgGv6HJbg8=; b=SIR8d3zadaoK+pbUnYDMrCS+OJN5utbDCU3F/kf7Wx4LC9gpkGeqRkeF8F3O9y9QjC l2h9NdSvBw71g8TtfcE47cd1zCicwitLfjOYx95dhZz4gpce7CH92syBrGuOEWKNCf6F X+iQw+Gp5SVxXMwHX912HnL4UpCC2fFfZLkodzQiNUXAiplF2iqEMrTUzzoqx7/bapPm K22mvgYPwiY59hMv5gQTO9s04j8OVoRkFq7YYD0Lp+MF78hUuSWPxeNVb5R1/1SDGwa3 ln84uOxy9t89vn8Rsqr/S4obKcibAGKMSIxhY9WSSP7O6+HJRpgNvwbxV2FgoEUYTJUa tkXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HM4dasVf; 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 203-20020a6302d4000000b00478b774f0ebsi36824766pgc.635.2023.01.04.17.11.00; Wed, 04 Jan 2023 17:11:07 -0800 (PST) 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=HM4dasVf; 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 S229792AbjAEAwY (ORCPT + 56 others); Wed, 4 Jan 2023 19:52:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229804AbjAEAwA (ORCPT ); Wed, 4 Jan 2023 19:52:00 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACF6E4F11F; Wed, 4 Jan 2023 16:46:56 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 49B5E61892; Thu, 5 Jan 2023 00:46:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A835FC433F0; Thu, 5 Jan 2023 00:46:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879615; bh=B6gIniQnZBonQ3QREWfSBaHtgf7ijfEwBiQzYXwXU6k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HM4dasVfwPpZTJb0eDebMijs/CLqc5FPyJZMnk32tAG1VY6tWuE8HCGehQ2ZR1mof VX4u618gphCXuH/GgLm/9ImZr+b9Dl5JmRkHpLfgjZOTxdnqe8tzKTHtyUKEJJSZvy 1MfqNV/VszGeHWdwSdXARDM4E6c6HmLPnzuH0DDOI/uO2+LQOvC5VuI1ibiiZPmzUb wGU2WXQ5c1O4NHsh57a755g9+41nz90IBs4aciUE35lASD8NjdRKo8yHHpO2bRj0vU afrd47DXcrGMaYCTME3xalgvtYRbPB/vBZidKBmGZMlm3cCUlA+cugVjfMVgxLSZk/ hs1Mttj93fD8Q== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 5BFC55C05CA; Wed, 4 Jan 2023 16:46:55 -0800 (PST) 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 1/4] torture: make kvm-find-errors.sh check for compressed vmlinux files Date: Wed, 4 Jan 2023 16:46:49 -0800 Message-Id: <20230105004652.1771676-1-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20230105004646.GA1771551@paulmck-ThinkPad-P17-Gen-1> References: <20230105004646.GA1771551@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Under some conditions, a given run's vmlinux file will be compressed, so that it is named vmlinux.xz rather than vmlinux. in such cases, kvm-find-errors.sh will complain about the nonexistence of vmlinux. This commit therefore causes kvm-find-errors.sh to check for vmlinux.xz as well as for vmlinux. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh b/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh index 88983cba79563..d4dc059843a43 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh @@ -36,7 +36,7 @@ do then egrep "error:|warning:|^ld: .*undefined reference to" < $i > $i.diags files="$files $i.diags $i" - elif ! test -f ${scenariobasedir}/vmlinux && ! test -f "${rundir}/re-run" + elif ! test -f ${scenariobasedir}/vmlinux && ! test -f ${scenariobasedir}/vmlinux.xz && ! test -f "${rundir}/re-run" then echo No ${scenariobasedir}/vmlinux file > $i.diags files="$files $i.diags $i" -- 2.31.1.189.g2e36527f23