Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
A 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()
A Dcore_reloc.c846 open_opts.btf_custom_path = test_case->btf_src_file; in test_core_reloc()
/linux/tools/lib/bpf/
A Dlibbpf.h106 const char *btf_custom_path; member
108 #define bpf_object_open_opts__last_field btf_custom_path
A Dlibbpf.c540 char *btf_custom_path; member
2853 if (obj->btf_ext && obj->btf_ext->core_relo_info.len && !obj->btf_custom_path) in obj_needs_vmlinux_btf()
6781 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL); in __bpf_object__open()
6787 obj->btf_custom_path = strdup(btf_tmp_path); in __bpf_object__open()
6788 if (!obj->btf_custom_path) { in __bpf_object__open()
7270 err = err ? : bpf_object__relocate(obj, obj->btf_custom_path ? : attr->target_btf_path); in bpf_object__load_xattr()
7931 zfree(&obj->btf_custom_path); in bpf_object__close()

Completed in 29 milliseconds