Searched refs:btf_vmlinux (Results 1 – 4 of 4) sorted by relevance
42 static struct btf *btf_vmlinux; variable120 if (btf_vmlinux) { in show_bpf_prog()125 info.attach_btf_id < btf__type_cnt(btf_vmlinux)) { in show_bpf_prog()127 btf__type_by_id(btf_vmlinux, info.attach_btf_id); in show_bpf_prog()129 btf__name_by_offset(btf_vmlinux, t->name_off); in show_bpf_prog()340 btf_vmlinux = libbpf_find_kernel_btf(); in do_show()404 btf_vmlinux = libbpf_find_kernel_btf(); in do_show_tree_fn()
21 static struct btf *btf_vmlinux; variable31 if (btf_vmlinux) in get_btf_vmlinux()32 return btf_vmlinux; in get_btf_vmlinux()34 btf_vmlinux = libbpf_find_kernel_btf(); in get_btf_vmlinux()35 if (!btf_vmlinux) in get_btf_vmlinux()38 return btf_vmlinux; in get_btf_vmlinux()645 btf__free(btf_vmlinux); in do_struct_ops()
788 static struct btf *btf_vmlinux; variable795 if (!btf_vmlinux) { in get_map_kv_btf()796 btf_vmlinux = libbpf_find_kernel_btf(); in get_map_kv_btf()797 if (!btf_vmlinux) { in get_map_kv_btf()802 *btf = btf_vmlinux; in get_map_kv_btf()818 if (btf != btf_vmlinux) in free_map_kv_btf()958 btf__free(btf_vmlinux); in do_dump()
679 struct btf *btf_vmlinux; member1107 kern_btf = mod_btf ? mod_btf->btf : obj->btf_vmlinux; in bpf_map__init_kern_struct_ops()3432 if (obj->btf_vmlinux || obj->gen_loader) in bpf_object__load_vmlinux_btf()3438 obj->btf_vmlinux = btf__load_vmlinux_btf(); in bpf_object__load_vmlinux_btf()3439 err = libbpf_get_error(obj->btf_vmlinux); in bpf_object__load_vmlinux_btf()3442 obj->btf_vmlinux = NULL; in bpf_object__load_vmlinux_btf()5586 btf = btf_get_from_fd(fd, obj->btf_vmlinux); in load_module_btfs()5646 main_btf = obj->btf_vmlinux_override ?: obj->btf_vmlinux; in bpf_core_find_cands()5668 btf__type_cnt(obj->btf_vmlinux), in bpf_core_find_cands()8094 btf = obj->btf_vmlinux; in find_ksym_btf_id()[all …]