Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1060 open_opts.btf_custom_path = test_case->btf_src_file; in run_core_reloc_tests()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.h134 const char *btf_custom_path; member
Dlibbpf.c645 char *btf_custom_path; member
2973 if (obj->btf_ext && obj->btf_ext->core_relo_info.len && !obj->btf_custom_path) in obj_needs_vmlinux_btf()
7210 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL); in bpf_object_open()
7216 obj->btf_custom_path = strdup(btf_tmp_path); in bpf_object_open()
7217 if (!obj->btf_custom_path) { in bpf_object_open()
7685 err = err ? : bpf_object__relocate(obj, obj->btf_custom_path ? : target_btf_path); in bpf_object_load()
8177 zfree(&obj->btf_custom_path); in bpf_object__close()
/linux-6.1.9/tools/bpf/bpftool/Documentation/
Dbpftool-gen.rst441 LIBBPF_OPTS(bpf_object_open_opts, opts, .btf_custom_path = "5.4.0-smaller.btf");