]> git.ipfire.org Git - people/ms/linux.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)
commit9271a0c7ae7a914782759d8fe22ef28fffab82fe
tree4bd9c2c3406c184c1f85136972ca95525ec06690
parent2c6401c966ae1fbe07eb3b8a07256dc41b596928
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