Linux Trace Kernel
 help / color / mirror / Atom feed
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Shuah Khan <skhan@linuxfoundation.org>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
	linux-kselftest@vger.kernel.org
Subject: Re: [PATCH v1 0/4] selftests/ftrace: Add a boottime tracing test framework
Date: Wed, 12 Aug 2026 00:22:00 +0900	[thread overview]
Message-ID: <20260812002200.62f0ec6171bbeccb147b9f22@kernel.org> (raw)
In-Reply-To: <20260810105300.1aed1c7d@gandalf.local.home>

On Mon, 10 Aug 2026 10:53:00 -0400
Steven Rostedt <rostedt@goodmis.org> wrote:

> On Mon, 10 Aug 2026 18:33:45 +0900
> "Masami Hiramatsu (Google)" <mhiramat@kernel.org> wrote:
> 
> > Hi,
> > 
> > This series adds a boottime tracing test framework to selftests/ftrace.
> > This is based on v3 series[1] of the boot-time trace (via bootconfig)
> > testing script.
> > 
> > [1] https://lore.kernel.org/all/178613904128.259829.16130019979800943264.stgit@devnote2/
> > 
> > The new run_boottime_test.sh can run tests not only for boottime trace
> > but also other kernel cmdline tracing options, including persistent
> > ring buffer and its backup.
> > This makes it possible to easily detect regression bugs in the kernel
> > boot trace options.
> > 
> > Here is an example of the test output.
> > -----
> > TAP version 13
> > 1..14
> > ok 1 01-kprobe
> > ok 2 02-synth
> > ok 3 03-eprobe
> > ok 4 04-fprobe
> > ok 5 05-tprobe
> > ok 6 06-instance
> > ok 7 cmdline-01-ftrace
> > ok 8 cmdline-02-trace-event
> > ok 9 cmdline-03-trace-buf-size
> > ok 10 cmdline-04-trace-options
> > ok 11 cmdline-05-trace-clock
> > ok 12 cmdline-06-trace-instance
> > ok 13 persistent-01-reserve-mem
> > ok 14 persistent-02-backup-instance
> > # Totals: pass:14 fail:0 xfail:0 xpass:0 skip:0 error:0
> > -----
> 
> Just to understand this better. This series creates a small ramdisk and
> runs qemu on a given kernel to boot in qemu and test, right?

Yes, that's right.

> 
> Can you add the examples you have in the documentation patch to the cover
> letter. That will market more exactly what you are doing.

OK, let me update the series with the explanation.

Thank you!

> 
> -- Steve


-- 
Masami Hiramatsu (Google) <mhiramat@kernel.org>

      reply	other threads:[~2026-08-11 15:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-10  9:33 [PATCH v1 0/4] selftests/ftrace: Add a boottime tracing test framework Masami Hiramatsu (Google)
2026-08-10  9:33 ` [PATCH v1 1/4] selftests/ftrace: Add generic boot " Masami Hiramatsu (Google)
2026-08-10  9:34 ` [PATCH v1 2/4] selftests/ftrace: Add boot-time tracing testcases Masami Hiramatsu (Google)
2026-08-10  9:34 ` [PATCH v1 3/4] selftests/ftrace: Add kernel cmdline " Masami Hiramatsu (Google)
2026-08-10  9:34 ` [PATCH v1 4/4] selftests/ftrace: Add persistent ring buffer testcases Masami Hiramatsu (Google)
2026-08-10 14:17   ` Masami Hiramatsu
2026-08-10 14:53 ` [PATCH v1 0/4] selftests/ftrace: Add a boottime tracing test framework Steven Rostedt
2026-08-11 15:22   ` Masami Hiramatsu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260812002200.62f0ec6171bbeccb147b9f22@kernel.org \
    --to=mhiramat@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=rostedt@goodmis.org \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox