Skip to content

Add clang-based BTF_KIND_FLOAT tests

Ilya Leoshkevich bpf 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 5 repliesApplied

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests/bpf: Add BTF_KIND_FLOAT to test_core_reloc_sizetools/testing/selftests/bpf/README.rst tools/testing/selftests/bpf/prog_tests/core_reloc.c tools/testing/selftests/bpf/progs/core_reloc_types.h +1 more+18 -00 replies
2/2selftests/bpf: Add BTF_KIND_FLOAT to btf_dump_test_case_syntaxtools/testing/selftests/bpf/progs/btf_dump_test_case_syntax.c+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 bpf-next 0/2] Add clang-based BTF_KIND_FLOAT tests

The two tests here did not make it into the main BTF_KIND_FLOAT series because of dependency on LLVM.

v0: https://lore.kernel.org/bpf/[email protected]/
v1 -> v0: Per Alexei's suggestion, document the required LLVM commit.

v1: https://lore.kernel.org/bpf/[email protected]/
v1 -> v2: Per Andrii's suggestions, use double in
core_reloc_size___diff_sz and non-pointer member in btf_dump_test_case_syntax.

Ilya Leoshkevich (2):
selftests/bpf: Add BTF_KIND_FLOAT to test_core_reloc_size selftests/bpf: Add BTF_KIND_FLOAT to btf_dump_test_case_syntax

 tools/testing/selftests/bpf/README.rst                   | 9 +++++++++
 tools/testing/selftests/bpf/prog_tests/core_reloc.c      | 1 +
 .../selftests/bpf/progs/btf_dump_test_case_syntax.c      | 7 +++++++
 tools/testing/selftests/bpf/progs/core_reloc_types.h     | 5 +++++
 tools/testing/selftests/bpf/progs/test_core_reloc_size.c | 3 +++
 5 files changed, 25 insertions(+)
Signature · 1 line
2.29.2