Home
last modified time | relevance | path

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

/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.c1063 open_opts.btf_custom_path = test_case->btf_src_file; in run_core_reloc_tests()
/linux/tools/testing/selftests/bpf/
H A Dtest_loader.c91 const char *btf_custom_path; member
578 spec->btf_custom_path = s + sizeof(TEST_BTF_PATH) - 1; in parse_test_spec()
989 open_opts->btf_custom_path = spec->btf_custom_path; in run_subtest()
/linux/tools/lib/bpf/
H A Dlibbpf.h145 const char *btf_custom_path; member
H A Dlibbpf.c718 char *btf_custom_path; member
3472 if (obj->btf_ext && obj->btf_ext->core_relo_info.len && !obj->btf_custom_path) in obj_needs_vmlinux_btf()
8050 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL); in bpf_object_open()
8056 obj->btf_custom_path = strdup(btf_tmp_path); in bpf_object_open()
8057 if (!obj->btf_custom_path) { in bpf_object_open()
8613 err = err ? : bpf_object__relocate(obj, obj->btf_custom_path ? : target_btf_path); in bpf_object_prepare()
9151 zfree(&obj->btf_custom_path); in bpf_object__close()
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-gen.rst465 LIBBPF_OPTS(bpf_object_open_opts, opts, .btf_custom_path = "5.4.0-smaller.btf");
/linux/tools/bpf/bpftool/
H A Dprog.c1736 open_opts.btf_custom_path = GET_ARG(); in load_with_options()