]> git.baikalelectronics.ru Git - kernel.git/commit
selftest/bpf: Add BTF_KIND_FLOAT tests
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 26 Feb 2021 20:22:53 +0000 (21:22 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 5 Mar 2021 01:58:16 +0000 (17:58 -0800)
commit7e72aad3a15c06e40e3ccd2352e5010e978f1acf
tree4eaee9bf7b2d7ed005ea697da74d15ce0ed5efe7
parentb1828f0b04828aa8cccadf00a702f459caefeed9
selftest/bpf: Add BTF_KIND_FLOAT tests

Test the good variants as well as the potential malformed ones.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210226202256.116518-8-iii@linux.ibm.com
tools/testing/selftests/bpf/btf_helpers.c
tools/testing/selftests/bpf/prog_tests/btf.c
tools/testing/selftests/bpf/test_btf.h