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

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dcore_autosize.c128 open_opts.btf_custom_path = btf_file;
206 open_opts.btf_custom_path = btf_file;
H A Dcore_reloc.c1060 open_opts.btf_custom_path = test_case->btf_src_file;
/linux-master/tools/testing/selftests/bpf/
H A Dtest_loader.c62 const char *btf_custom_path; member in struct:test_spec
294 spec->btf_custom_path = s + sizeof(TEST_BTF_PATH) - 1;
590 open_opts->btf_custom_path = spec->btf_custom_path;
/linux-master/tools/lib/bpf/
H A Dlibbpf.h142 const char *btf_custom_path; member in struct:bpf_object_open_opts
H A Dlibbpf.c683 char *btf_custom_path; member in struct:bpf_object
3366 /* CO-RE relocations need kernel BTF, only when btf_custom_path
3369 if (obj->btf_ext && obj->btf_ext->core_relo_info.len && !obj->btf_custom_path)
7876 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL);
7882 obj->btf_custom_path = strdup(btf_tmp_path);
7883 if (!obj->btf_custom_path) {
8402 err = err ? : bpf_object__relocate(obj, obj->btf_custom_path ? : target_btf_path);
8910 zfree(&obj->btf_custom_path);

Completed in 332 milliseconds