Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2837286lqp; Mon, 25 Mar 2024 10:33:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXIf0CLv53TQvg/GCg13Y2axVy6fdNsAeeBfGo/1YXu/41kLskDg07Ple3HXPDF54qNXdfIo/1t3vqdKsBHda/rkj4ddsPdynCArKbuA== X-Google-Smtp-Source: AGHT+IF+ZP0q6jfNx6jg0O/eaD6JBJcSrvRzjIkczbnxC5cIaH+ZbDDn2AUOKzCgePCCtnTa2L78 X-Received: by 2002:a05:6a00:139b:b0:6e7:8322:ff8e with SMTP id t27-20020a056a00139b00b006e78322ff8emr11028765pfg.30.1711387993023; Mon, 25 Mar 2024 10:33:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711387993; cv=pass; d=google.com; s=arc-20160816; b=xPom+fjqRxO7V+UR7aQ9Ta5w2pFzCVSuVuVgk8OhGAiC/4hlV1TywknM5yiGDG/CJG f1PjTtSWwE5fxqyxn3JHTYCKH5bBbojZGTGcvJt1MAnOnDINRhyujt1L59NkJycf1brd UOnaTrWjznvopnYeqpX+nkUCu2Q+aju8yXLONyHD4i4FsWTLWxz8ewerbPIQxxE6/evF SgzFkkRNpvUhxTkSL7+g9mD2Xc22kynUbb82pkW+jHSWaHaWlaNNHwyFmDqCCLgSbRdi auKdzBrDxJ3UlmeBZZLcLMbWwZoixOUEjVCDnDwXab/Y4rtvTow8p1DIFVJw4IkEgFRf 4v6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=vWTfCAJh+WN05ps0BSBOzlbOeRVaMcV9/ghgAsrDXz0=; fh=nwTkZEXjSApU3HiS34pnU8nPiK9rh/QGYmWKWFYrLLs=; b=RPVBGcvjbzxu2L9H5rYaJDGIYIEqFHyUAkfaXub7WKmS/dn9ixZzLq2mHw+H7rwIKB Z9nXvY35hMVjjSuS3MSpfWCOLIBeqw99f0M7e3Bz83pSMc5KWtk7YqjSonzemsbklqA9 RP4QBrXe/JyZXjtLTF9Khc68k1aZ1VU2FgDxetINxX9gU2TVQ85jqKTsY6DPuXsdWXuD TDp/pv1+rUM7v1Q5aepuSd2Mpm1hNBxton40BiK70SPVyQYj2tW6YLmxRUkhHfM55SrO PwZyrMFdzvXggLwgWsql2LFQLIfYKyqAEgq4uQlbyuDaTl2HokCui0ZzHJcytkHAkenI gQgg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=olLbVQnO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-117446-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117446-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t42-20020a056a0013aa00b006eaa98ae6d7si3069060pfg.220.2024.03.25.10.33.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:33:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117446-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=olLbVQnO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-117446-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117446-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5984A29DB60 for ; Mon, 25 Mar 2024 17:25:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56D5212DD89; Mon, 25 Mar 2024 16:18:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="olLbVQnO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 67BED12B16C; Mon, 25 Mar 2024 16:17:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711383479; cv=none; b=I22R1LEr58uehzetsWQQa2YwbaE8IqYStw1mgEWOZkNdFVDO4SHkI6e2ue7ZncbuxsKa+n19UlS4kxI9oZ353Mz0/7ZlKOY3S2NPpCSQ8shGLEBkuVB3maK1hIIILWGiBzNNhq/V1k651MN03PVl7MYydM9T2eTNpdTCfMKyTdM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711383479; c=relaxed/simple; bh=IDZmVTQL6FUPF4VXy4kvhrE06bFthcPgs9kXAUa4MHw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=j+zOB9H8AbdKZmGiF4eyQI1cth8c2eYF1KzaIOy/PzhOc6iG4WYwNsxceKF9d8FM5KNHyWGg1+9b+dwaZ66MlIlqwyxtmykNlT+cOWmTrjia/CipKdS9X1Pzk7HOk6xWSJ9ZU7RbCOZJsQnTN+00XVE+7qyIF+iLY4wXraSNoVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=olLbVQnO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1196DC433C7; Mon, 25 Mar 2024 16:17:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711383479; bh=IDZmVTQL6FUPF4VXy4kvhrE06bFthcPgs9kXAUa4MHw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=olLbVQnO7TGptxzycuqWSNXMlKEHChyw3zRv46MXcNhG+rA4lTdWrWl1p55ElHepQ LLd4jgr2KR4jhrjUtvXYUfu7scQNng9XgK4kos6NVaei3IUfMdEcAxuoBK+0eRBcYX HiQ2h/cZ5godDGLrRp6KN3QVrUUK70k7nGyYk9aBnR9ZNJNteTnSdMPfcoHX7fiuFd WR8pYa1ht+0Kdyhj+QL/FwKlq8wKY7h5usqz6ItdcSmaZOHoMiUx+7qKIajX3+eYD1 1P5S7MRnrcRwaIfDgPuPGyFfJnmUcvtqxonsRC/Mlz+IVV/a6dgWoI11bpWZcs26I+ Aju6CICJQAWxQ== From: Mark Brown Date: Mon, 25 Mar 2024 16:15:51 +0000 Subject: [PATCH 2/2] tracing/selftests: Default to verbose mode when running in kselftest Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240325-kselftest-ftrace-ktap-verbose-v1-2-3785199809da@kernel.org> References: <20240325-kselftest-ftrace-ktap-verbose-v1-0-3785199809da@kernel.org> In-Reply-To: <20240325-kselftest-ftrace-ktap-verbose-v1-0-3785199809da@kernel.org> To: Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Shuah Khan Cc: Mark Rutland , Aishwarya TCV , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Mark Brown X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1363; i=broonie@kernel.org; h=from:subject:message-id; bh=IDZmVTQL6FUPF4VXy4kvhrE06bFthcPgs9kXAUa4MHw=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBmAaOvbRVid4KdhaOgoFVH1DkequIpxxcu0SW4Fv5d efPO+peJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZgGjrwAKCRAk1otyXVSH0DT3B/ 4o3VAA+e8nn0hiFSXN4UX8I2TMbL8acEu2QQIzdscZ6Hm9SoRI6ksxZ8fu8/7a+JEhPhKL0z/yYYsW K4z3InUL1ZUWoavhgesdozrbtaBDRDayXXZgcL0op5eaSwOJk1yGD2kS1rp4Eqpvokuua+5D1Kf+qf rO/etGks1AFPnn4qQboUAKX6gr1j6erXjqG4jhuSd28c+7CgS9ojhHvDFbz4X42+R+lgdU8bwGLPIw FewY60hhYn8c26Va7vDNHCREvWEoNNUz6zGKzVZxTzU2ln8tAWyFAbPVZ5OHewsrvoWooJR9JW32WA kelLkuwOuNi5IuCvZX6c9qAgmiJQDP X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB In order to facilitate debugging of issues from automated runs of the ftrace selftests turn on verbose logging by default when run from the kselftest runner. This is primarily used by automated systems where developers may not have direct access to the system so defaulting to providing diagnostic information which might help debug problems seems like a good idea. When tests pass no extra output is generated, when they fail a full log of the test run is provided. Since this really is rather verbose when there are a large number of test failures or output is slow (eg, with a serial console) this could substantially increase the run time for the tests which might present problems with timeout detection for affected systems, hopefully we keep the tests running well enough that this is not too much of an issue. Signed-off-by: Mark Brown --- tools/testing/selftests/ftrace/ftracetest-ktap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/ftrace/ftracetest-ktap b/tools/testing/selftests/ftrace/ftracetest-ktap index b3284679ef3a..14e62ef3f3b9 100755 --- a/tools/testing/selftests/ftrace/ftracetest-ktap +++ b/tools/testing/selftests/ftrace/ftracetest-ktap @@ -5,4 +5,4 @@ # # Copyright (C) Arm Ltd., 2023 -./ftracetest -K +./ftracetest -K -v -- 2.30.2