Searched refs:btf_custom_path (Results 1 – 11 of 11) sorted by relevance
226 opts->btf_custom_path = strdup(btf_path); in ensure_core_btf()227 if (!opts->btf_custom_path) in ensure_core_btf()242 if (!opts->btf_custom_path) in cleanup_core_btf()245 unlink(opts->btf_custom_path); in cleanup_core_btf()246 free((void *)opts->btf_custom_path); in cleanup_core_btf()
128 open_opts.btf_custom_path = btf_file; in test_core_autosize()206 open_opts.btf_custom_path = btf_file; in test_core_autosize()
1060 open_opts.btf_custom_path = test_case->btf_src_file; in run_core_reloc_tests()
121 btf_custom_path: ptr::null(), in default()
142 const char *btf_custom_path; member
683 char *btf_custom_path; member3400 if (obj->btf_ext && obj->btf_ext->core_relo_info.len && !obj->btf_custom_path) in obj_needs_vmlinux_btf()7919 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL); in bpf_object_open()7925 obj->btf_custom_path = strdup(btf_tmp_path); in bpf_object_open()7926 if (!obj->btf_custom_path) { in bpf_object_open()8445 err = err ? : bpf_object__relocate(obj, obj->btf_custom_path ? : target_btf_path); in bpf_object_load()8958 zfree(&obj->btf_custom_path); in bpf_object__close()
487 LIBBPF_OPTS(bpf_object_open_opts, opts, .btf_custom_path = "5.4.0-smaller.btf");
4439 pub btf_custom_path: *const ::std::os::raw::c_char, field
6111 pub btf_custom_path: *const ::std::os::raw::c_char, field