aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_btf.h
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2021-02-26 21:22:52 +0100
committerAlexei Starovoitov <ast@kernel.org>2021-03-04 17:58:16 -0800
commitb1828f0b04828aa8cccadf00a702f459caefeed9 (patch)
tree0ae907e9d5c37452e2ccfcfdf378239aa1fd6802 /tools/testing/selftests/bpf/test_btf.h
parentselftests/bpf: Use the 25th bit in the "invalid BTF_INFO" test (diff)
downloadlinux-dev-b1828f0b04828aa8cccadf00a702f459caefeed9.tar.xz
linux-dev-b1828f0b04828aa8cccadf00a702f459caefeed9.zip
bpf: Add BTF_KIND_FLOAT support
On the kernel side, introduce a new btf_kind_operations. It is similar to that of BTF_KIND_INT, however, it does not need to handle encodings and bit offsets. Do not implement printing, since the kernel does not know how to format floating-point values. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20210226202256.116518-7-iii@linux.ibm.com
Diffstat (limited to 'tools/testing/selftests/bpf/test_btf.h')
0 files changed, 0 insertions, 0 deletions