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/
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.c65 const char *btf_custom_path; member
598 spec->btf_custom_path = val; in parse_test_spec()
1362 open_opts->btf_custom_path = spec->btf_custom_path; in run_subtest()
1363 if (!open_opts->btf_custom_path) in run_subtest()
1364 open_opts->btf_custom_path = spec->btf_custom_func_path; in run_subtest()
/linux/tools/lib/bpf/
H A Dlibbpf.c746 char *btf_custom_path; member
3590 if (obj->btf_ext && obj->btf_ext->core_relo_info.len && !obj->btf_custom_path) in obj_needs_vmlinux_btf()
8537 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL); in bpf_object_open()
8543 obj->btf_custom_path = strdup(btf_tmp_path); in bpf_object_open()
8544 if (!obj->btf_custom_path) { in bpf_object_open()
9108 err = err ? : bpf_object__relocate(obj, obj->btf_custom_path ? : target_btf_path); in bpf_object_prepare()
9646 zfree(&obj->btf_custom_path); in bpf_object__close()