Commit 4f7caaa
bpf: Use ftrace_get_symaddr() for kprobe_multi probes
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.
Cc: Alexei Starovoitov <[email protected]>
Cc: Florent Revest <[email protected]>
Cc: Martin KaFai Lau <[email protected]>
Cc: bpf <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Alan Maguire <[email protected]>
Cc: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/173566081414.878879.10631096557346094362.stgit@devnote2
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent 2bc56fd commit 4f7caaa
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2591 | 2591 | | |
2592 | 2592 | | |
2593 | 2593 | | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
2594 | 2601 | | |
2595 | 2602 | | |
2596 | 2603 | | |
| |||
2829 | 2836 | | |
2830 | 2837 | | |
2831 | 2838 | | |
2832 | | - | |
| 2839 | + | |
| 2840 | + | |
2833 | 2841 | | |
2834 | 2842 | | |
2835 | 2843 | | |
| |||
2841 | 2849 | | |
2842 | 2850 | | |
2843 | 2851 | | |
2844 | | - | |
| 2852 | + | |
| 2853 | + | |
2845 | 2854 | | |
2846 | 2855 | | |
2847 | 2856 | | |
| |||
0 commit comments