btf_relocate
int btf_relocate(struct btf *btf, const struct btf *base_btf, __u32 **map_ids);
err = btf_relocate(btf, vmlinux_btf, &btf->base_id_map);
int err = btf_relocate(btf, base_btf, NULL);
static int btf_mark_embedded_composite_type_ids(struct btf_relocate *r, __u32 i)
static int btf_relocate_map_distilled_base(struct btf_relocate *r)
static int btf_relocate_validate_distilled_base(struct btf_relocate *r)
static int btf_relocate_rewrite_strs(struct btf_relocate *r, __u32 i)
struct btf_relocate r = {};
static int btf_relocate_rewrite_type_id(struct btf_relocate *r, __u32 i)
int btf_relocate(struct btf *btf, const struct btf *base_btf, __u32 **id_map);