bpf: Add bpf_get_func_ip kprobe helper for multi kprobe link
authorJiri Olsa <jolsa@kernel.org>
Wed, 16 Mar 2022 12:24:10 +0000 (13:24 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 18 Mar 2022 03:17:19 +0000 (20:17 -0700)
commit42a5712094e89ef0a125ac0f9d0873f9233368b1
tree914464cd50477c1ba5be6a503e75d3d2f13de8a8
parent0dcac272540613d41c05e89679e4ddb978b612f1
bpf: Add bpf_get_func_ip kprobe helper for multi kprobe link

Adding support to call bpf_get_func_ip helper from kprobe
programs attached by multi kprobe link.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220316122419.933957-5-jolsa@kernel.org
kernel/trace/bpf_trace.c