Searched refs:src_btf (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/tools/bpf/bpftool/ |
D | gen.c | 1660 struct btf *src_btf; member 1679 btf__free(info->src_btf); in btfgen_free_info() 1695 info->src_btf = btf__parse(targ_btf_path, NULL); in btfgen_new_info() 1696 if (!info->src_btf) { in btfgen_new_info() 1730 const struct btf_type *btf_type = btf__type_by_id(info->src_btf, type_id); in btfgen_mark_type() 1804 struct btf *btf = info->src_btf; in btfgen_record_field_relo() 1867 struct btf *btf = info->src_btf; in btfgen_mark_type_match() 2089 cands = btfgen_find_cands(btf, info->src_btf, relo->type_id); in btfgen_record_obj() 2167 type = btf__type_by_id(info->src_btf, i); in btfgen_get_btf() 2175 name = btf__str_by_offset(info->src_btf, type->name_off); in btfgen_get_btf() [all …]
|
/linux-6.6.21/tools/lib/bpf/ |
D | btf.h | 151 LIBBPF_API int btf__add_type(struct btf *btf, const struct btf *src_btf, 174 LIBBPF_API int btf__add_btf(struct btf *btf, const struct btf *src_btf);
|
D | btf.c | 1603 int btf__add_type(struct btf *btf, const struct btf *src_btf, const struct btf_type *src_type) in btf__add_type() argument 1605 struct btf_pipe p = { .src = src_btf, .dst = btf }; in btf__add_type() 1648 int btf__add_btf(struct btf *btf, const struct btf *src_btf) in btf__add_btf() argument 1650 struct btf_pipe p = { .src = src_btf, .dst = btf }; in btf__add_btf() 1656 if (src_btf->base_btf) in btf__add_btf() 1668 data_sz = src_btf->hdr->type_len; in btf__add_btf() 1669 cnt = btf__type_cnt(src_btf) - 1; in btf__add_btf() 1687 memcpy(t, src_btf->types_data, data_sz); in btf__add_btf()
|
D | linker.c | 1743 struct btf *src_btf, int src_id) in complete_extern_btf_info() argument 1746 struct btf_type *src_t = btf_type_by_id(src_btf, src_id); in complete_extern_btf_info() 1762 src_t = btf_type_by_id(src_btf, src_t->type); in complete_extern_btf_info() 1783 s = btf__str_by_offset(src_btf, src_p->name_off); in complete_extern_btf_info()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | core_reloc.c | 983 static int run_btfgen(const char *src_btf, const char *dst_btf, const char *objpath) in run_btfgen() argument 990 src_btf, dst_btf, objpath); in run_btfgen()
|