Some BPF programs compiled on s390 fail to load, because s390
arch-specific linux headers contain float and double types.
Introduce support for such types by representing them using the new
BTF_KIND_FLOAT. This series deals with libbpf, bpftool, in-kernel BTF
parser as well as selftests and documentation.
Ilya Leoshkevich (6):
tools/bpftool: Add BTF_KIND_FLOAT support
selftests/bpf: Use the 25th bit in the "invalid BTF_INFO" test
bpf: Add BTF_KIND_FLOAT support
selftest/bpf: Add BTF_KIND_FLOAT tests
selftests/bpf: Add BTF_KIND_FLOAT to the existing deduplication tests
bpf: Document BTF_KIND_FLOAT in btf.rst
Documentation/bpf/btf.rst | 17 +-
kernel/bpf/btf.c | 83 ++++++++-
tools/bpf/bpftool/btf.c | 8 +
tools/bpf/bpftool/btf_dumper.c | 1 +
tools/testing/selftests/bpf/btf_helpers.c | 4 +
tools/testing/selftests/bpf/prog_tests/btf.c | 176 +++++++++++++++++--
tools/testing/selftests/bpf/test_btf.h | 3 +
7 files changed, 275 insertions(+), 17 deletions(-)
--
2.20.1