From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 8BFBF48AE04; Fri, 14 Aug 2026 16:05:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786723547; cv=none; b=AUF1fW8QwGHYz0RIxFrjCbgd6FILcvlqb+O8iPJ8EimSsYkCxzU5mQ4gy7H4SLQJexeCtQJq+aG5iYSiJVfkEZ1VWcjQIZS2HxN6C9RxyHbWp+AP959BrbdGBZwU9zH1F4jrQb6pSpiSkS7g3GAqyEzM4Gl4LnjKFvtw94XPX9g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786723547; c=relaxed/simple; bh=L8GsF73UnKkggtrCxHY/AZeQySCCSFf5WblsqBgisdc=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=b0OH4HmPldA6PBgXijy1lt6tyaXAUJACdBDMaOJfiu5j4zXP+ZQFz/BTvLXwVOT+epMN0m5T/9efdp6+/T5RJKu5hwS0woXOt2UuW55151p5Owr51dG8WhEvlurtat9eZdykTTPOBFWCTf79ds9PToWq6D7TyZa7OJNwaK+MEgI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LrXPY0s1; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LrXPY0s1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 829ED1F000E9; Fri, 14 Aug 2026 16:05:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786723528; bh=Q5nalS8clh6zVc3SzWMnKZJ3lcpnCa5AuqNQUNumrEs=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=LrXPY0s1PpQURSOt5GR9cvpVCHL1d/OFgWH0ZVda6JjzAv5hlMqFsOoOTMr0QetTa GhQMfrkVrtWh+tdlaYI+fyeUq4qAltEdxKXg1lf3GVUZGqZ0qlYt1kzMlwkADlEAjS FkHq5WcFV/A90mPRrgngDG4V0UiQ3Nw1ytH6bSRbAVa5E4ih3u6FmKw0QFQlq/EsTB WQltN3ZdHANAbwXrMxqMIAHEcoNU/QWLTNnIYsWvap/ltwJqzPdKRs8rD/HHMWzZPL uYQkgj4yQwq5uQhcXk8u11fLJH/viY3QIP3OxtyS2g7QcBH/4NuCXBJqC33Bc/H+i0 DiaC43AyYbtJA== Date: Sat, 15 Aug 2026 01:05:24 +0900 From: Masami Hiramatsu (Google) To: "Masami Hiramatsu (Google)" , Steven Rostedt Cc: Steven Rostedt , Shuah Khan , Mathieu Desnoyers , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v3 0/4] selftests/ftrace: Add a boottime tracing test framework Message-Id: <20260815010524.b361dc036dd2e997d23cc421@kernel.org> In-Reply-To: <178649540853.438282.4271870161169100680.stgit@devnote2> References: <178649540853.438282.4271870161169100680.stgit@devnote2> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-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 Hi Steve, Would you have any comment on this? I would like to pick this to probes/for-next for ensuring boottime tracing works correctly. Thank you, On Wed, 12 Aug 2026 09:43:28 +0900 "Masami Hiramatsu (Google)" wrote: > Hi, > > This is the v3 series of the boottime tracing test framework to selftests/ftrace. > This test builds initramfs from busybox binary and test scripts, and run it on > QEMU with modified cmdline and bootconfig. > > The previous version is here: > > https://lore.kernel.org/all/178646245730.428104.4400499381224001727.stgit@devnote2/ > > In this version, I fixed some issues pointed by Sashiko[1] and add "# APPLETS:" > line support for test script. See below changelog for details. > > [1] https://sashiko.dev/#/patchset/178646245730.428104.4400499381224001727.stgit%40devnote2 > > Changes in v3: > [1/4] > - Require file command and check kernel binary architecture via file -bL > instead of matching kernel path string in run_boottime_test.sh. > - Use 'cp -L' when copying BUSYBOX into initramfs to dereference > symbolic links. > - Use 'ln -sf' when creating BusyBox applet symlinks in initramfs. > - Add support for '# APPLETS: ' header in test scripts to > dynamically create BusyBox applet symlinks in initramfs. > - Update boottime test README to document file command dependency and > '# APPLETS:' header syntax. > [3/4] > - Add '# APPLETS: awk' header to cmdline-03-trace-buf-size.sh to request > awk applet in initramfs. > > Changes in v2: > [1/4] > - Add top-level boottime-ktap wrapper script and include it in > TEST_PROGS in Makefile. > - Define BUSYBOX_APPLETS as a global array variable including sleep > and sed. > - Require timeout tool in run_boottime_test.sh and README, and always > invoke QEMU under timeout command to prevent infinite execution loops. > - Add fallback sleep loop safeguard (sleep 100 || break) in guest > init script. > - Support multi-line .qemuopts files using read -r -d '' -a qemu_args. > [3/4] > - Fix buffer_size_kb parsing in cmdline-03-trace-buf-size.sh to handle > unexpanded buffer string output '1 (expanded: 2048)'. > - Use grep -qw in cmdline-04-trace-options.sh to match word options > and avoid matching disabled 'no