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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 26 Dec 2024 21:23:39 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Thu, 26 Dec 2024 14:15:25 +0900
> "Masami Hiramatsu (Google)" <mhiramat@xxxxxxxxxx> wrote:
> 
> > From: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
> > 
> > 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@xxxxxxxxxx>  
> 
> 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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux