selftests/bpf: add test for BTF-defined maps
authorAndrii Nakryiko <andriin@fb.com>
Mon, 17 Jun 2019 19:26:57 +0000 (12:26 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 17 Jun 2019 22:10:42 +0000 (00:10 +0200)
commit9e3d709c47ca3d10df461635b350edef94f3cf11
tree00b525f1b1470bff8a42427ad8896639a0e73b08
parentabd29c9314595b1ee5ec6c61d7c49a497ffb30a3
selftests/bpf: add test for BTF-defined maps

Add file test for BTF-defined map definition.

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/test_btf_newkv.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_btf.c