selftests/bpf: Add cookie test for bpf_program__attach_kprobe_multi_opts
authorJiri Olsa <jolsa@kernel.org>
Wed, 16 Mar 2022 12:24:19 +0000 (13:24 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 18 Mar 2022 03:17:19 +0000 (20:17 -0700)
commit318c812cebfcfdf42f254e6c1e6490a46e7714f8
tree48bce490f949c605237ba7347dcb62e0b740e31c
parent9271a0c7ae7a914782759d8fe22ef28fffab82fe
selftests/bpf: Add cookie test for bpf_program__attach_kprobe_multi_opts

Adding bpf_cookie test for programs attached by
bpf_program__attach_kprobe_multi_opts API.

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