Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H 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()
H A Dcore_reloc.c1060 open_opts.btf_custom_path = test_case->btf_src_file; in run_core_reloc_tests()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.h142 const char *btf_custom_path; member
H A Dlibbpf.c667 char *btf_custom_path; member
3053 if (obj->btf_ext && obj->btf_ext->core_relo_info.len && !obj->btf_custom_path) in obj_needs_vmlinux_btf()
7424 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL); in bpf_object_open()
7430 obj->btf_custom_path = strdup(btf_tmp_path); in bpf_object_open()
7431 if (!obj->btf_custom_path) { in bpf_object_open()
7941 err = err ? : bpf_object__relocate(obj, obj->btf_custom_path ? : target_btf_path); in bpf_object_load()
8453 zfree(&obj->btf_custom_path); in bpf_object__close()
/openbmc/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-gen.rst441 LIBBPF_OPTS(bpf_object_open_opts, opts, .btf_custom_path = "5.4.0-smaller.btf");