selftests/bpf: Add test for bpf_get_func_ip helper

Adding test for bpf_get_func_ip helper for fentry, fexit,
kprobe, kretprobe and fmod_ret programs.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210714094400.396467-6-jolsa@kernel.org
This commit is contained in:
Jiri Olsa 2021-07-14 11:43:57 +02:00 • committed by Alexei Starovoitov
commit 5d8b583d04
2 changed files with 101 additions and 0 deletions