Re: [PATCH v3 1/1] tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols

From: Francis Laniel
Date: Thu Aug 31 2023 - 03:15:11 EST


Hi.

Le mercredi 30 août 2023, 01:57:19 CEST Steven Rostedt a écrit :
> On Fri, 25 Aug 2023 22:13:21 +0900
>
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
> > > Excellent catch! Thank you, I will apply this patch and send v4 right
> > > after. Regarding test, do you think I can add a test for the
> > > EADDRNOTAVAIL case?>
> > Hmm, in that case, you need to change something in tracefs/README so that
> > we can identify the kernel has different behavior. Or we have to change
> > this is a "Fix" for backporting.
>
> I prefer this to be a Fix and backported.

This makes sense, I will send v5 to stable mailing list too!

> Thanks,
>
> -- Steve

Best regards.