Searched refs:src_btf (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/tools/bpf/bpftool/ |
D | gen.c | 1659 struct btf *src_btf; member 1683 btf__free(info->src_btf); in btfgen_free_info() 1699 info->src_btf = btf__parse(targ_btf_path, NULL); in btfgen_new_info() 1700 if (!info->src_btf) { in btfgen_new_info() 1734 const struct btf_type *btf_type = btf__type_by_id(info->src_btf, type_id); in btfgen_mark_type() 1808 struct btf *btf = info->src_btf; in btfgen_record_field_relo() 1871 struct btf *btf = info->src_btf; in btfgen_mark_type_match() 2094 cands = btfgen_find_cands(btf, info->src_btf, relo->type_id); in btfgen_record_obj() 2171 type = btf__type_by_id(info->src_btf, i); in btfgen_get_btf() 2179 name = btf__str_by_offset(info->src_btf, type->name_off); in btfgen_get_btf() [all …]
|
/linux-6.1.9/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 | 1591 int btf__add_type(struct btf *btf, const struct btf *src_btf, const struct btf_type *src_type) in btf__add_type() argument 1593 struct btf_pipe p = { .src = src_btf, .dst = btf }; in btf__add_type() 1636 int btf__add_btf(struct btf *btf, const struct btf *src_btf) in btf__add_btf() argument 1638 struct btf_pipe p = { .src = src_btf, .dst = btf }; in btf__add_btf() 1644 if (src_btf->base_btf) in btf__add_btf() 1656 data_sz = src_btf->hdr->type_len; in btf__add_btf() 1657 cnt = btf__type_cnt(src_btf) - 1; in btf__add_btf() 1675 memcpy(t, src_btf->types_data, data_sz); in btf__add_btf()
|
D | linker.c | 1731 struct btf *src_btf, int src_id) in complete_extern_btf_info() argument 1734 struct btf_type *src_t = btf_type_by_id(src_btf, src_id); in complete_extern_btf_info() 1750 src_t = btf_type_by_id(src_btf, src_t->type); in complete_extern_btf_info() 1771 s = btf__str_by_offset(src_btf, src_p->name_off); in complete_extern_btf_info()
|
/linux-6.1.9/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()
|