On Mon, Feb 22, 2021 at 1:52 PM Ilya Leoshkevich <iii@xxxxxxxxxxxxx> wrote: > > Test the good variants as well as the potential malformed ones. > > Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx> > Acked-by: Yonghong Song <yhs@xxxxxx> > --- 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(+) > [...]