From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 19BF13EF668 for ; Thu, 23 Apr 2026 13:06:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776949583; cv=none; b=DAP4bX/r5vMUsJETyKfuAgHiFLerl3wQfSKifaXL6HiRGr3grU/nXBpqeNmDK3+tlTXKSUBDcY43TMWYFadZzwyKLKUn5hMu3PTzxbEPQsPtK1rlaNIn4t5w06/xyMcFcs0CE/T4ItWuFMJwY31jFh4Xz8UqKHbedVG/ut48fMg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776949583; c=relaxed/simple; bh=IVEoVJLaOW+OQ3xUR3Fk3fINw5X12rMVrCN7XEIr5nc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=C4UqG9WfGOv2Mn58ML/4ZabP11bttfpbJHWZsYHacrmNEOrvj3oirx0Q2/BwhStQtHxe4Y8oVIW1xAA5euaXqDh82m3qATRSt2Bsul3teGSNB8GCW0SysF2M+mM4jjl7EyNtNGCRMBEyDd78QdLnonrHp1ffNJYgTyK0YIzxhl0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=BWc0zMbp; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="BWc0zMbp" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1776949581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dUPA16kyMcDrjTI7wxaAg2ovzTokNi1sNbJRhq/QcZI=; b=BWc0zMbpC8lo7gvpXGx4N9yJ1sb3BDa5W8dpVc1or4wXmFq19JT5tHyCIQelQJHnnSon// 5yfLw2/RX74AxKJYKoM1oRZBiYcJtG1DS8TFppUzm0lY/r9gaXJxzQrc9CkQHpR9ihYNzR QUIBL7Wie7VR6cBoeWrI9h1mir8eJRA= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-500-VHMa3HWfNF6Ve-mvAfIabQ-1; Thu, 23 Apr 2026 09:06:17 -0400 X-MC-Unique: VHMa3HWfNF6Ve-mvAfIabQ-1 X-Mimecast-MFC-AGG-ID: VHMa3HWfNF6Ve-mvAfIabQ_1776949576 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id DBEE018001E1; Thu, 23 Apr 2026 13:06:15 +0000 (UTC) Received: from fedora.brq.redhat.com (unknown [10.43.17.109]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A18F01800347; Thu, 23 Apr 2026 13:06:13 +0000 (UTC) From: Tomas Glozar To: Steven Rostedt , Tomas Glozar Cc: John Kacur , Luis Goncalves , Crystal Wood , Costa Shulyupin , Wander Lairson Costa , LKML , linux-trace-kernel Subject: [PATCH 4/9] rtla/tests: Use negative match when testing --aa-only Date: Thu, 23 Apr 2026 15:05:53 +0200 Message-ID: <20260423130558.882022-5-tglozar@redhat.com> In-Reply-To: <20260423130558.882022-1-tglozar@redhat.com> References: <20260423130558.882022-1-tglozar@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 For testing the -a/--auto option in timerlat tool, the string "analyzing it" is matched against to make sure auto-analysis was triggered. Use the same string as a negative match for --aa-only option test. 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 fb60022aaa64..f47a82c115c7 100644 --- a/tools/tracing/rtla/tests/timerlat.t +++ b/tools/tracing/rtla/tests/timerlat.t @@ -38,7 +38,7 @@ check_top_hist "dump tasks" \ check "print the auto-analysis if hits the stop tracing condition" \ "timerlat top --aa-only 5" 2 check_top_hist "disable auto-analysis" \ - "timerlat TOOL -s 3 -T 10 -t --no-aa" 2 + "timerlat TOOL -s 3 -T 10 -t --no-aa" 2 "" "analyzing it" check_top_q_hist "verify -c/--cpus" \ "timerlat TOOL -c 0 -d 10s -T 1 --on-threshold shell,command=tests/scripts/check-cpus.sh" 2 "^Affinity of threads: 0$" -- 2.53.0