btf__parse_elf
LIBBPF_API struct btf *btf__parse_elf(const char *path, struct btf_ext **btf_ext);
btf = btf__parse_elf(test->file, &btf_ext);
btf = btf__parse_elf(test_file, NULL);
btf = btf__parse_elf("btf_dump_test_case_syntax.bpf.o", NULL);