Home
last modified time | relevance | path

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

/linux-6.14.4/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.c1061 open_opts.btf_custom_path = test_case->btf_src_file; in run_core_reloc_tests()
/linux-6.14.4/tools/testing/selftests/bpf/
Dtest_loader.c85 const char *btf_custom_path; member
576 spec->btf_custom_path = s + sizeof(TEST_BTF_PATH) - 1; in parse_test_spec()
969 open_opts->btf_custom_path = spec->btf_custom_path; in run_subtest()
/linux-6.14.4/tools/lib/bpf/
Dlibbpf.h145 const char *btf_custom_path; member
Dlibbpf.c710 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()
8030 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL); in bpf_object_open()
8036 obj->btf_custom_path = strdup(btf_tmp_path); in bpf_object_open()
8037 if (!obj->btf_custom_path) { in bpf_object_open()
8575 err = err ? : bpf_object__relocate(obj, obj->btf_custom_path ? : target_btf_path); in bpf_object_load()
9080 zfree(&obj->btf_custom_path); in bpf_object__close()
/linux-6.14.4/tools/bpf/bpftool/Documentation/
Dbpftool-gen.rst465 LIBBPF_OPTS(bpf_object_open_opts, opts, .btf_custom_path = "5.4.0-smaller.btf");