Home
last modified time | relevance | path

Searched refs:btf_custom_path (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dcore_autosize.c128 open_opts.btf_custom_path = btf_file; in test_core_autosize()
206 open_opts.btf_custom_path = btf_file; in test_core_autosize()
Dcore_reloc.c855 open_opts.btf_custom_path = test_case->btf_src_file; in test_core_reloc()
/Linux-v5.15/tools/lib/bpf/
Dlibbpf.h103 const char *btf_custom_path; member
105 #define bpf_object_open_opts__last_field btf_custom_path
Dlibbpf.c506 char *btf_custom_path; member
2652 if (obj->btf_ext && obj->btf_ext->core_relo_info.len && !obj->btf_custom_path) in obj_needs_vmlinux_btf()
6405 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL); in __bpf_object__open()
6411 obj->btf_custom_path = strdup(btf_tmp_path); in __bpf_object__open()
6412 if (!obj->btf_custom_path) { in __bpf_object__open()
6892 err = err ? : bpf_object__relocate(obj, obj->btf_custom_path ? : attr->target_btf_path); in bpf_object__load_xattr()
7545 zfree(&obj->btf_custom_path); in bpf_object__close()