# Re: \[PATCH v22 20/20\] bpf: Use ftrace\_get\_symaddr() for kprobe\_multi probes

- From: Steven Rostedt \<rostedt@goodmis.org\>
- Date: 2024-12-27 02:24:56 
- List: linux-trace-kernel
- Page: https://ratatoskr.run/linux-trace-kernel/2024/12/2872267
- Thread: https://ratatoskr.run/linux-trace-kernel/2024/12/2871694/t.md

```text
On Thu, 26 Dec 2024 21:23:39 -0500
Steven Rostedt [ref] wrote:

> On Thu, 26 Dec 2024 14:15:25 +0900
> "Masami Hiramatsu (Google)" [ref] wrote:
> 
> > From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
> > 
> > Add ftrace_get_entry_ip() which is only for ftrace based probes, and use
> > it for kprobe multi probes because they are based on fprobe which uses
> > ftrace instead of kprobes.
> > 
> > Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>  
> 
> 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.

-- Steve

```
