selftests/bpf: Test bpf_link's get_next_id, get_fd_by_id, and get_obj_info

Extend bpf_obj_id selftest to verify bpf_link's observability APIs.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200429001614.1544-7-andriin@fb.com
This commit is contained in:
Andrii Nakryiko 2020-04-28 17:16:10 -07:00 • committed by Alexei Starovoitov
commit 2c2837b09e
2 changed files with 104 additions and 20 deletions