Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp578719lqe; Sat, 6 Apr 2024 14:04:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUpVfaHSrxByz+RMGShz/f8DphLPhtFIYjpIgzXS9upPOrB3QAco47nD71TcGGnp6uTTjAkpVX7mTgQjxktgDfW7skFklq2ANvqHBmXSA== X-Google-Smtp-Source: AGHT+IFIgmduBXsHZs0thPcln4ZvUsd/jALA1g4y7u3j65cEqqni7KGnkrHfcFrU2iQd76Xrpeu2 X-Received: by 2002:aca:1218:0:b0:3c3:f737:99b with SMTP id 24-20020aca1218000000b003c3f737099bmr4928001ois.19.1712437495092; Sat, 06 Apr 2024 14:04:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712437495; cv=pass; d=google.com; s=arc-20160816; b=tmd9a7IX8FRo/C3RHP1gjw5847eW1lwZ1ILhBYX6CPDxU0S2CXvLUbFrEqble9dOuO G2dTxH93tBm6ZEWzTgm7t36pKJUf1nIpMp3iUkBRECgIa9uoh+rPXj8zQ2juTBlwmBQk ygZqQS8/5LZuLz5+l9KSsJ600QC1oM/8LUsAo8xTm32vY7fUJh/3FZqmdo1JtqElM5ER JFyJd30d9mshFmqiheP/mtn4/bfW5eZP3KeIDV+DB+1Vz97LdhBXcUTS5udRjwBGLZeE iRAs6BzOC60GdOTDJfRQ/fNLjcHeovsDS1ExjEHERSi2duLBaDs3avfIwAZr7EVqXGR/ ytGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:cc:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=EyES3FJzbZUZwEs3O37+j5r+DaTiqvGujMfbiA8dibY=; fh=MeAAHR1mwMBkORD8a3oNv45Op7imtZ1mJWRzJA2jYbE=; b=AvyE5BMvB/C4AGwfkuq88drIRpuGzTzvmU1jLnqLs/3GDSwbGRsSjZ9wkvE6ymQ+yL jPY7aaQ21XFbCWZaIG6zdsLXz+SsgA4dAQLAqTIBFEUhvteWA/KDs79hYrQ4WMVGIpVG r6aW8w6Cr5x9jWZmFg6pUtEe20EK+wXK0iDixlz7s8IIEy5J/2UzsnsGCvNvC1XrqhsE bSOzXvfd8ldnMMcsKznntqUdNUfqR0psCCYfwFwMt0xLqNvigA2V77SO/hjqgj2krUD1 A6JHTxeC8w2K/ha7DrFRDa6UVScUs7UXxX5KwNhTXEkqDVY63kr6Rhay7i1+5rT+fyqo odHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=5ZISUpw7; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-134079-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134079-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p12-20020a05622a13cc00b0043183c91c3esi4876710qtk.514.2024.04.06.14.04.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Apr 2024 14:04:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134079-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=5ZISUpw7; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-134079-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134079-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CCCE81C20A78 for ; Sat, 6 Apr 2024 21:04:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E4F84EB29; Sat, 6 Apr 2024 21:04:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="5ZISUpw7" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 B739618C1F; Sat, 6 Apr 2024 21:04:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712437488; cv=none; b=DtR3EjvYZ8XXsAEvDQGP5VSyiutnLBNGGUC19ht98mgeR+Za9bUBfhB22Ha9bCTfiNTkXsGMbYeKjQaxU2Q4O2GiaPSezZJh1bnT6neqsyS1SwlD4JFL0P7x812UFPnxgiVs55JV5PMm6XGMMZzZR5bpYn3WCsnPjZidgGNHvcs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712437488; c=relaxed/simple; bh=64IYSKKJE5J1rChJs6720PfQX+7NKQslncXK2DYIEq0=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=eK5GzRhupKphRMfdxmdG73226xg73XFMA1+TOIdoQcVxLUL81YTplQf96hoJ2DNtI7a2WtMN1Kg0diuLHD602VMkjFhUkKg4diuJmVFRrIHsIOwxEMjWW1cv3U5UwkDdSP9k/LvZDLVYEk5TGdMj7zbDsT4HnTbvjADm5SHWN8k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=5ZISUpw7; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1712437485; bh=64IYSKKJE5J1rChJs6720PfQX+7NKQslncXK2DYIEq0=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=5ZISUpw7LX0vnCMpd1kfQoGuXQnhpMsio7mI8JzUfQm9eQfr24L9rhV9uothnUGbR Ijf2eO5yZ5iB/8uPLqwLzv08Q/YuRiLBoUW2u7AtYOdZhc5mLuboO8UeBciGTqrHKK Q5h6yErd8L0rHsDllpfuia7GhTXMOY/ieso1tvKgrCR8aC2RdpFKbblko4haLOMd7Q oalS9NRwI6TP72Jg+Pvnx2tmpmxWMlx0tvS9N2M6y5EuvpULgoUJTwqsU1qe/Ei5ut 4M4MMWeoUW869POgdJ8rontwmgpWHZoAc9XA3CLI60skkwe3D42bMOFOtHhY7CChkY emrxcpm7punHw== Received: from [100.113.15.66] (ec2-34-240-57-77.eu-west-1.compute.amazonaws.com [34.240.57.77]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 483B93780894; Sat, 6 Apr 2024 21:04:37 +0000 (UTC) Message-ID: <470d67f2-dd6f-48e1-8f42-a6c72e2d98e7@collabora.com> Date: Sun, 7 Apr 2024 02:05:10 +0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: Muhammad Usama Anjum , Mark Rutland , Aishwarya TCV , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 2/2] tracing/selftests: Default to verbose mode when running in kselftest To: Mark Brown , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Shuah Khan References: <20240325-kselftest-ftrace-ktap-verbose-v1-0-3785199809da@kernel.org> <20240325-kselftest-ftrace-ktap-verbose-v1-2-3785199809da@kernel.org> Content-Language: en-US From: Muhammad Usama Anjum In-Reply-To: <20240325-kselftest-ftrace-ktap-verbose-v1-2-3785199809da@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/25/24 9:15 PM, Mark Brown wrote: > 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 Reviewed-by: Muhammad Usama Anjum > --- > 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 > -- BR, Muhammad Usama Anjum