]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add BTF_KIND_FLOAT to btf_dump_test_case_syntax
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 9 Mar 2021 00:56:49 +0000 (01:56 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 9 Mar 2021 18:59:46 +0000 (10:59 -0800)
commitdc99897be8d074c2173771acda52b67d9b46bfd9
tree86e58ea5bbd923777daf8088c876475a62550202
parentb7cf36a74666a3204c800581c23f09d81778bf34
selftests/bpf: Add BTF_KIND_FLOAT to btf_dump_test_case_syntax

Check that dumping various floating-point types produces a valid C
code.

Suggested-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210309005649.162480-3-iii@linux.ibm.com
tools/testing/selftests/bpf/progs/btf_dump_test_case_syntax.c