Re: [PATCH for-next v3] tracing/kprobes: Add symbol counting check when module loads

2024-07-05 Thread Steven Rostedt
On Fri, 5 Jul 2024 16:11:25 +0900 "Masami Hiramatsu (Google)" wrote: > From: Masami Hiramatsu (Google) > > Currently, kprobe event checks whether the target symbol name is unique > or not, so that it does not put a probe on an unexpected place. But this > skips the check if the target is on a

[PATCH for-next v3] tracing/kprobes: Add symbol counting check when module loads

2024-07-05 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Currently, kprobe event checks whether the target symbol name is unique or not, so that it does not put a probe on an unexpected place. But this skips the check if the target is on a module because the module may not be loaded. To fix this issue, this patch checks