From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) (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 8D4421A5B90 for ; Thu, 25 Jun 2026 13:48:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782395282; cv=none; b=qwaeNuu70ZZdAkQf3M0YOgVX85NfOmOkBbOIKwLvk2taXesTFp6XVl0bEfm7d8TsprQKUizrBvuFaLoqLHlQWrEUqOyjs2UbZqlntT6AsKrwUerX/eArVuAJFqbVLlqG9xTHeBSh50KaRJsPy5zltfml2QI2jOAVoFCfrbOmtTI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782395282; c=relaxed/simple; bh=W/B0ZQnBpunR2wiVN7hjRQ598rcegLSqP+q/PiiINxM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=XhDw44jAYlW9vMLoAw7bMrRW4uvxVyJRvuG4gQx81fPP7j9j3O1+OI0zk8artjdIt5Pecb7pDgwREapAHQVFrF2wwslAK9ttatIMccIhnNLvYYycWHt7uJSLKN8rrXskDQ85ciBKKko/gc8zrf0KSeQN5iN6Gl5K7xKu7EgSiDY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org; spf=pass smtp.mailfrom=goodmis.org; arc=none smtp.client-ip=216.40.44.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=goodmis.org Received: from omf16.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 7843F1633C9; Thu, 25 Jun 2026 13:47:59 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: rostedt@goodmis.org) by omf16.hostedemail.com (Postfix) with ESMTPA id AF74820018; Thu, 25 Jun 2026 13:47:57 +0000 (UTC) Date: Thu, 25 Jun 2026 09:47:55 -0400 From: Steven Rostedt To: Linus Torvalds Cc: LKML , Tomas Glozar Subject: [GIT PULL] rtla: Fixes for 7.2 Message-ID: <20260625094755.587fdb91@fedora> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-redhat-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: AF74820018 X-Stat-Signature: 1n1k1c1uf63aipa4dgp7dqonze5qj8tc X-Rspamd-Server: rspamout06 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Session-ID: U2FsdGVkX18BDgBzNJ55P4LIYqVfHduyF7ZOJzVIOn4= X-HE-Tag: 1782395277-794187 X-HE-Meta: U2FsdGVkX1+d33zz3ra0+Np003s5w4zibEIfTjHHqyD3aKY5TzClnZMY1J7G36yppz5hDqeQjUBsSij/cdcK36xGxAFxfXch8iOmDGP5gcgpj/ny4NBLvBmhLjYoK7JK670Mqw0NA34orOJ37XE64YVQdfNV4HAW61KK2HR1M653Y77H+CrlAAfF+bAT0QXL17zHIZahbvuWAVdhTrG1dXKJJ+EPz2nCseZX8TjGabG6ugMY4eo/jgvpLxh3DX1Ozcz3y7gMtS7MsIUfc+zGJWlckqkclRLArYH5QSlyLv5KudTGg53vaRb6SIBFjTfWA6yTdlosNOFCxeyLCGNXxMQufttKWeof Linus, rtla fixes for 7.2: - Fix and cleanup .gitignore - Fix pgrep filter in get_workload_pids.sh Fix parsing of kernel thread names in get_workload_pids() helper function. On some systems pgrep matches kernel thread names including the brackets (e.g. "[osnoise/0]") and other systems brackets are not included. Fix the tests to handle both. Please pull the latest trace-tools-7.2-2 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-tools-7.2-2 Tag SHA1: b50d6b0eaa77794f077cb1b3a9f574f150807ec0 Head SHA1: c35eb77a67515d4201bc91294f40761591f43bbd Tomas Glozar (2): rtla: Fix and clean up .gitignore rtla/tests: Fix pgrep filter in get_workload_pids.sh ---- tools/tracing/rtla/.gitignore | 13 ++++--------- tools/tracing/rtla/tests/scripts/lib/get_workload_pids.sh | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) --------------------------- diff --git a/tools/tracing/rtla/.gitignore b/tools/tracing/rtla/.gitignore index c7b4bf1c8ba9..2a1c99ddd1bf 100644 --- a/tools/tracing/rtla/.gitignore +++ b/tools/tracing/rtla/.gitignore @@ -1,14 +1,9 @@ # SPDX-License-Identifier: GPL-2.0-only -rtla -rtla-static -unit_tests +/rtla +/rtla-static +/unit_tests fixdep feature FEATURE-DUMP *.skel.h -custom_filename.txt -osnoise_irq_noise_hist.txt -osnoise_trace.txt -timerlat_trace.txt -libsubcmd/ -lib/ +/libsubcmd/ diff --git a/tools/tracing/rtla/tests/scripts/lib/get_workload_pids.sh b/tools/tracing/rtla/tests/scripts/lib/get_workload_pids.sh index 8aff98cd2c1f..d10a4e3b321d 100644 --- a/tools/tracing/rtla/tests/scripts/lib/get_workload_pids.sh +++ b/tools/tracing/rtla/tests/scripts/lib/get_workload_pids.sh @@ -5,7 +5,7 @@ get_workload_pids() { local rtla_pid=$(ps -o ppid= $shell_pid) # kernel threads - pgrep -P $(pgrep ^kthreadd$) -f '^(osnoise|timerlat)/[0-9]+$' + pgrep -P $(pgrep ^kthreadd$) -f '^\[?(osnoise|timerlat)/[0-9]+\]?$' # user threads pgrep -P $rtla_pid | grep -v "^$shell_pid$" }