Searched refs:module_btf (Results 1 - 3 of 3) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_module.c | 12 struct btf *vmlinux_btf, *module_btf; local 24 module_btf = btf__load_module_btf(module_name, vmlinux_btf); 25 if (!ASSERT_OK_PTR(module_btf, "could not load module BTF")) 28 type_id = btf__find_by_name(module_btf, symbol_name); 32 btf__free(module_btf);
|
H A D | btf_tag.c | 47 /* loads vmlinux_btf as well as module_btf. If the caller passes NULL as 48 * module_btf, it will not load module btf. 54 static int load_btfs(struct btf **vmlinux_btf, struct btf **module_btf, argument 81 /* skip loading module_btf, if not requested by caller */ 82 if (!module_btf) 85 *module_btf = btf__load_module_btf(module_name, *vmlinux_btf); 86 if (!ASSERT_OK_PTR(*module_btf, "could not load module BTF")) 90 type_id = btf__find_by_name_kind(*module_btf, "user", BTF_KIND_TYPE_TAG); 100 btf__free(*module_btf); 105 if (module_btf) 112 struct btf *vmlinux_btf = NULL, *module_btf = NULL; local 166 struct btf *vmlinux_btf, *module_btf; local [all...] |
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 603 struct module_btf { struct 687 struct module_btf *btf_modules; 950 struct module_btf **res_mod_btf); 958 struct module_btf **mod_btf, 1092 struct module_btf *mod_btf; 5495 struct module_btf *mod_btf; 8045 struct module_btf **res_mod_btf) 8047 struct module_btf *mod_btf; 8061 /* we assume module_btf's BTF FD is always >0 */ 8082 struct module_btf *mod_bt [all...] |
Completed in 176 milliseconds