Home
last modified time | relevance | path

Searched refs:targ_btf_path (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/tools/bpf/bpftool/
Dgen.c1686 btfgen_new_info(const char *targ_btf_path) in btfgen_new_info() argument
1695 info->src_btf = btf__parse(targ_btf_path, NULL); in btfgen_new_info()
1698 p_err("failed parsing '%s' BTF file: %s", targ_btf_path, strerror(errno)); in btfgen_new_info()
1702 info->marked_btf = btf__parse(targ_btf_path, NULL); in btfgen_new_info()
1705 p_err("failed parsing '%s' BTF file: %s", targ_btf_path, strerror(errno)); in btfgen_new_info()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c5779 bpf_object__relocate_core(struct bpf_object *obj, const char *targ_btf_path) in bpf_object__relocate_core() argument
5795 if (targ_btf_path) { in bpf_object__relocate_core()
5796 obj->btf_vmlinux_override = btf__parse(targ_btf_path, NULL); in bpf_object__relocate_core()
6515 bpf_object__relocate(struct bpf_object *obj, const char *targ_btf_path) in bpf_object__relocate() argument
6522 err = bpf_object__relocate_core(obj, targ_btf_path); in bpf_object__relocate()