]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add attach test for bpf_program__attach_kprobe_multi_opts
authorJiri Olsa <jolsa@kernel.org>
Wed, 16 Mar 2022 12:24:18 +0000 (13:24 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 18 Mar 2022 03:17:19 +0000 (20:17 -0700)
commit6c2c1b49c96de39d4c0496dc68230c4501b04e65
tree4bd9c2c3406c184c1f85136972ca95525ec06690
parent9fa444c47519efe1836cb98a8844e792bc816144
selftests/bpf: Add attach test for bpf_program__attach_kprobe_multi_opts

Adding tests for bpf_program__attach_kprobe_multi_opts function,
that test attach with pattern, symbols and addrs.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220316122419.933957-13-jolsa@kernel.org
tools/testing/selftests/bpf/prog_tests/kprobe_multi_test.c