Re: [PATCH v22 20/20] bpf: Use ftrace_get_symaddr() for kprobe_multi probes

From: Google
Date: Tue Dec 31 2024 - 10:50:37 EST


On Fri, 27 Dec 2024 10:24:52 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Thu, 26 Dec 2024 21:24:53 -0500
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > > On my 32bit build, I hit a new warning;
> > >
> > > kernel/trace/bpf_trace.c:1073:22: warning: ‘ftrace_get_entry_ip’ defined but not used [-Wunused-function]
> > > 1073 | static unsigned long ftrace_get_entry_ip(unsigned long fentry_ip)
> > > | ^~~~~~~~~~~~~~~~~~~
> > >
> > > Config attached.
> >
> >
> > Since this is the last patch of the series, just send a new patch for this one.
> > I'll continue testing the rest of the patches.
>
> The tests passed without this patch so I applied them to my for-next branch.

Thanks!

>
> If you fix this, you just need to send this patch only.


OK, let me fix this issue.

>
> Thanks,
>
> -- Steve


--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>