On Mon, Feb 22, 2021 at 1:52 PM Ilya Leoshkevich [off-list ref] wrote:
Test the good variants as well as the potential malformed ones.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Acked-by: Yonghong Song <redacted>
---
Would be nice to have BTF dumping and dedup tests added/adjusted as well.
tools/testing/selftests/bpf/btf_helpers.c | 4 +
tools/testing/selftests/bpf/prog_tests/btf.c | 129 +++++++++++++++++++
tools/testing/selftests/bpf/test_btf.h | 3 +
3 files changed, 136 insertions(+)
[...]