Home
last modified time | relevance | path

Searched refs:src_btf (Results 1 – 3 of 3) sorted by relevance

/linux/tools/lib/bpf/
H A Dbtf.h114 * *src_btf* and its base BTF. The new base BTF will only contain the types
119 * @param src_btf source split BTF object
134 LIBBPF_API int btf__distill_base(const struct btf *src_btf, struct btf **new_base_btf,
181 LIBBPF_API int btf__add_type(struct btf *btf, const struct btf *src_btf,
184 * @brief **btf__add_btf()** appends all the BTF types from *src_btf* into *btf*
186 * @param src_btf BTF object which all BTF types and referenced strings are copied from
193 * if there were some unused strings in *src_btf*, those won't be copied over,
201 * *src_btf* has to be non-split BTF, as of now copying types from split BTF
204 LIBBPF_API int btf__add_btf(struct btf *btf, const struct btf *src_btf);
H A Dlinker.c1927 struct btf *src_btf, int src_id) in complete_extern_btf_info() argument
1930 struct btf_type *src_t = btf_type_by_id(src_btf, src_id); in complete_extern_btf_info()
1946 src_t = btf_type_by_id(src_btf, src_t->type); in complete_extern_btf_info()
1967 s = btf__str_by_offset(src_btf, src_p->name_off); in complete_extern_btf_info()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcore_reloc.c986 static int run_btfgen(const char *src_btf, const char *dst_btf, const char *objpath) in run_btfgen()
993 src_btf, dst_btf, objpath); in run_btfgen()
984 run_btfgen(const char * src_btf,const char * dst_btf,const char * objpath) run_btfgen() argument