Re: [PATCH v2] kretprobe: avoid re-registration of the same kretprobe earlier

From: Steven Rostedt
Date: Fri Jan 29 2021 - 11:30:34 EST


On Fri, 29 Jan 2021 22:29:47 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> I'll send a patch over this to replace those check with WARN_ON() since
> it's a software bug and should be fixed.

Please use WARN_ON_ONCE()

Thanks!

-- Steve