]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f48cd207b2781dad40f603ada910456d374c27a
tree00b525f1b1470bff8a42427ad8896639a0e73b08
parentb6effa363406bde813355293d14661f21d20c299
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