Lines Matching refs:btf
282 static int btf_ext_reloc_info(const struct btf *btf, in btf_ext_reloc_info() argument
299 info_sec_name = btf__name_by_offset(btf, sinfo->sec_name_off); in btf_ext_reloc_info()
329 int btf_ext__reloc_func_info(const struct btf *btf, in btf_ext__reloc_func_info() argument
334 return btf_ext_vendored::btf_ext_reloc_info(btf, &btf_ext->func_info, sec_name, in btf_ext__reloc_func_info()
338 int btf_ext__reloc_line_info(const struct btf *btf, in btf_ext__reloc_line_info() argument
343 return btf_ext_vendored::btf_ext_reloc_info(btf, &btf_ext->line_info, sec_name, in btf_ext__reloc_line_info()
581 struct btf *btf; in load() local
590 btf = btf__new(new_btf_sec, new_btf_sec_size); in load()
593 btf = btf__new(btf_sec, btf_sec_size); in load()
595 if (BCC_IS_ERR(btf)) { in load()
600 if (btf__load_into_kernel(btf)) { in load()
601 btf__free(btf); in load()
608 btf__free(btf); in load()
613 btf_ = btf; in load()