[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240529014640.3a04f7301f12eb44738f9f2d@kernel.org>
Date: Wed, 29 May 2024 01:46:40 +0900
From: Masami Hiramatsu (Google) <mhiramat@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Linux Trace Kernel
<linux-trace-kernel@...r.kernel.org>, Tom Zanussi <zanussi@...nel.org>
Subject: Re: [PATCH 0/3] tracing: Fix some selftest issues
On Mon, 27 May 2024 19:29:07 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:
> On Sun, 26 May 2024 19:10:57 +0900
> "Masami Hiramatsu (Google)" <mhiramat@...nel.org> wrote:
>
> > Hi,
> >
> > Here is a series of some fixes/improvements for the test modules and boot
> > time selftest of kprobe events. I found a WARNING message with some boot
> > time selftest configuration, which came from the combination of embedded
> > kprobe generate API tests module and ftrace boot-time selftest. So the main
> > problem is that the test module should not be built-in. But I also think
> > this WARNING message is useless (because there are warning messages already)
> > and the cleanup code is redundant. This series fixes those issues.
>
> Note, when I enable trace tests as builtin instead of modules, I just
> disable the bootup self tests when it detects this. This helps with
> doing tests via config options than having to add user space code that
> loads modules.
>
> Could you do something similar?
OK, in that case, I would like to move the test cleanup code in
module_exit function into the end of module_init function.
It looks there is no reason to split those into 2 parts.
Thank you,
>
> -- Steve
>
>
> >
> > Thank you,
> >
> > ---
> >
> > Masami Hiramatsu (Google) (3):
> > tracing: Build event generation tests only as modules
> > tracing/kprobe: Remove unneeded WARN_ON_ONCE() in selftests
> > tracing/kprobe: Remove cleanup code unrelated to selftest
> >
--
Masami Hiramatsu (Google) <mhiramat@...nel.org>
Powered by blists - more mailing lists