Thread (10 messages) flat view 10 messages, 2 authors, 2024-06-12

Re: [PATCH 1/3] tracing: Build event generation tests only as modules

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2024-06-10 21:42:22
Also in: lkml

On Tue, 11 Jun 2024 06:26:34 +0900
"Masami Hiramatsu (Google)" [off-list ref] wrote:
The kprobes and synth event generation test modules add events and lock
(get a reference) those event file reference in module init function,
and unlock and delete it in module exit function. This is because those
are designed for playing as modules.

If we make those modules as built-in, those events are left locked in the
kernel, and never be removed. This causes kprobe event self-test failure
as below.
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help