selftests/bpf: Add uprobe_multi skel test
authorJiri Olsa <jolsa@kernel.org>
Wed, 9 Aug 2023 08:34:31 +0000 (10:34 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 21 Aug 2023 22:51:27 +0000 (15:51 -0700)
commit75b3715720d731c45b2a66f7f292504e97b109e6
tree9a4e262280937aca56740713e5c7650c97f3eddd
parent3830d04a7401f277185e4439eb259c1b13e76788
selftests/bpf: Add uprobe_multi skel test

Adding uprobe_multi test for skeleton load/attach functions,
to test skeleton auto attach for uprobe_multi link.

Test that bpf_get_func_ip works properly for uprobe_multi
attachment.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230809083440.3209381-20-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/uprobe_multi.c [new file with mode: 0644]