On Fri, Jun 3, 2022 at 7:11 AM Eduard Zingerman <eddyz87@xxxxxxxxx> wrote: > > The BTF and func_info specification for test_verifier tests follows > the same notation as in prog_tests/btf.c tests. E.g.: > > ... > .func_info = { { 0, 6 }, { 8, 7 } }, > .func_info_cnt = 2, > .btf_strings = "\0int\0", > .btf_types = { > BTF_TYPE_INT_ENC(1, BTF_INT_SIGNED, 0, 32, 4), > BTF_PTR_ENC(1), > }, > ... > > The BTF specification is loaded only when specified. > > Signed-off-by: Eduard Zingerman <eddyz87@xxxxxxxxx> Acked-by: Song Liu <songliubraving@xxxxxx> [...]