Re: [PATCH for-next v2] tracing/kprobes: Add symbol counting check when module loads
From: Steven Rostedt
Date: Tue Apr 16 2024 - 00:47:45 EST
On Mon, 15 Apr 2024 18:40:23 +0900
"Masami Hiramatsu (Google)" <mhiramat@xxxxxxxxxx> wrote:
> Check the number of probe target symbols in the target module when
> the module is loaded. If the probe is not on the unique name symbols
> in the module, it will be rejected at that point.
>
> Note that the symbol which has a unique name in the target module,
> it will be accepted even if there are same-name symbols in the
> kernel or other modules,
This says what it does, but doesn't explain why it is doing it.
What's the purpose of this patch?
-- Steve