From nobody Tue Dec 2 02:05:04 2025 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 18A5C31196D for ; Thu, 20 Nov 2025 23:26:36 +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=1763681197; cv=none; b=lvx4Swr9EX15kBQVJx3eAV3cAZmpYvnwAuf8Fgs7oaFsQsNOr9EhLutbVArvQHtAKceZXCqeRdixbA6KneV924161madqj7WWfYbyAHCxZOrCHPnbCy0xKBftgH8GdWwrHfY3AFjjbcZpTuxRu4qcIc9mAK+p1AjT6f5TjXhp9U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763681197; c=relaxed/simple; bh=5kM87JWVv3aVU0MV0JsAAPE/TljgzwR7VK/z9g16GxU=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=VdtVsSv6L1t9eHTckg4g2QNWYssKR4QJZgbVN/DGQujiTVQB5qeEpRJnzg7PM052WNTZWJrfULaZuiyMNtF8+FmlcxAIhcnyXDAUuuSwOm3K9RBYXjnkgtJLmtoBRnL56DCmry+1Yn/4ZHG5TLtKg84PztXfKYR1wvx6P58dQyw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kUrIoYso; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kUrIoYso" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCC3AC113D0; Thu, 20 Nov 2025 23:26:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763681196; bh=5kM87JWVv3aVU0MV0JsAAPE/TljgzwR7VK/z9g16GxU=; h=Date:From:To:Cc:Subject:References:From; b=kUrIoYsoAB9z14dZULq4+kqYt1SNtnf3R3ZQ7lbsqjx6A1rttG+xD+FbjXkyBe2JW 1e9btGWdJWjbh2vP2wkLKYaPciwzc4a6NWAGMVmMdOSEoPt8o9tDBaPz8eEOmu3Ktu 26fU8ysqFtpEUDZRlke5IyBiKOH56yfTdp5Ek/7L12e24qhZ32jMSCXU867ou6Gbdp F1nqnWt0MNIyPiXF4eHyq/mqyp+V3JYM49EXo3ZlP2TqQfwkzjilLgqkfr3sLZSmjC u4iHIjaSmKKRcr3q9nUty8hI+kstNGT72GqIQ9r+7x0sBb2UWCVXg2MIvP6n3v6Sz1 /Uyw2Cb7DmjeA== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vME3R-000000041xg-3uHj; Thu, 20 Nov 2025 18:27:09 -0500 Message-ID: <20251120232709.790791802@kernel.org> User-Agent: quilt/0.68 Date: Thu, 20 Nov 2025 18:23:38 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Tomas Glozar , John Kacur , Crystal Wood Subject: [for-next][PATCH 15/16] rtla/tests: Dont rely on matching ^1ALL References: <20251120232323.271532418@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Crystal Wood The timerlat "top stop at failed action" test was relying on "ALL" being printed immediately after the "1" from the threshold action. Besides being fragile, this depends on stdbuf behavior, which is easy to miss when recreating the test outside of the framework for debugging purposes. Instead, use the expected/unexpected text mechanism from the corresponding osnoise test. Signed-off-by: Crystal Wood Link: https://lore.kernel.org/r/20251112152529.956778-2-crwood@redhat.com Signed-off-by: Tomas Glozar --- tools/tracing/rtla/tests/timerlat.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tracing/rtla/tests/timerlat.t b/tools/tracing/rtla/tests= /timerlat.t index b550a6ae2445..bbaa1897d8a8 100644 --- a/tools/tracing/rtla/tests/timerlat.t +++ b/tools/tracing/rtla/tests/timerlat.t @@ -58,7 +58,7 @@ check "multiple actions" \ check "hist stop at failed action" \ "timerlat hist -T 2 --on-threshold shell,command=3D'echo -n 1; false' --o= n-threshold shell,command=3D'echo -n 2'" 2 "^1# RTLA timerlat histogram$" check "top stop at failed action" \ - "timerlat top -T 2 --on-threshold shell,command=3D'echo -n 1; false' --on= -threshold shell,command=3D'echo -n 2'" 2 "^1ALL" + "timerlat top -T 2 --on-threshold shell,command=3D'echo -n abc; false' --= on-threshold shell,command=3D'echo -n defgh'" 2 "^abc" "defgh" check "hist with continue" \ "timerlat hist -T 2 -d 5s --on-threshold shell,command=3D'echo TestOutput= ' --on-threshold continue" 0 "^TestOutput$" check "top with continue" \ --=20 2.51.0