selftests/bpf: switch BPF_ANNOTATE_KV_PAIR tests to BTF-defined maps
authorAndrii Nakryiko <andriin@fb.com>
Mon, 17 Jun 2019 19:26:58 +0000 (12:26 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 17 Jun 2019 22:10:43 +0000 (00:10 +0200)
commitf654407481e9bbba7039e939163ef60f9d5e43ba
treea8acac8f4ce52706b7f74e7ea2bc7be111bcacef
parent9e3d709c47ca3d10df461635b350edef94f3cf11
selftests/bpf: switch BPF_ANNOTATE_KV_PAIR tests to BTF-defined maps

Switch tests that already rely on BTF to BTF-defined map definitions.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/progs/netcnt_prog.c
tools/testing/selftests/bpf/progs/test_map_lock.c
tools/testing/selftests/bpf/progs/test_send_signal_kern.c
tools/testing/selftests/bpf/progs/test_sock_fields_kern.c
tools/testing/selftests/bpf/progs/test_spin_lock.c