commit | 737e0f919a8d2a313618d8ac67d50e8223bc5d74 | [log] [tgz] |
---|---|---|
author | Ilya Leoshkevich <iii@linux.ibm.com> | Fri Feb 26 21:22:50 2021 +0100 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu Mar 04 17:58:15 2021 -0800 |
tree | 17e59f34933d9ffc778f46ce7e4dcb291db745c6 | |
parent | 22541a9eeb0d968c133aaebd95fa59da3208e705 [diff] |
tools/bpftool: Add BTF_KIND_FLOAT support Only dumping support needs to be adjusted, the code structure follows that of BTF_KIND_INT. Example plain and JSON outputs: [4] FLOAT 'float' size=4 {"id":4,"kind":"FLOAT","name":"float","size":4} 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-5-iii@linux.ibm.com