On 2021/02/03 11:59PM, Masami Hiramatsu wrote: > Warn if the kprobe is reregistered, since there must be > a software bug (actively used resource must not be re-registered) > and caller must be fixed. > > Signed-off-by: Masami Hiramatsu <mhira...@kernel.org> > --- > kernel/kprobes.c | 13 ++++++++----- > 1 file changed, 8 insertions(+), 5 deletions(-)
Suggested-by: Naveen N. Rao <naveen.n....@linux.vnet.ibm.com> Acked-by: Naveen N. Rao <naveen.n....@linux.vnet.ibm.com> Thanks, Naveen