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

Adding test for cookies setup/retrieval in uprobe_link uprobes
and making sure bpf_get_attach_cookie works properly.

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