Searched refs:btf_relocate (Results 1 – 6 of 6) sorted by relevance
/linux/tools/lib/bpf/ |
H A D | btf_relocate.c | 38 struct btf_relocate { struct 66 static int btf_relocate_rewrite_type_id(struct btf_relocate *r, __u32 i) in btf_relocate_rewrite_type_id() argument 132 static int btf_mark_embedded_composite_type_ids(struct btf_relocate *r, __u32 i) in btf_mark_embedded_composite_type_ids() 184 static int btf_relocate_map_distilled_base(struct btf_relocate *r) in btf_relocate_map_distilled_base() 383 static int btf_relocate_validate_distilled_base(struct btf_relocate *r) in btf_relocate_validate_distilled_base() 412 static int btf_relocate_rewrite_strs(struct btf_relocate *r, __u32 i) in btf_relocate_rewrite_strs() 444 int btf_relocate(struct btf *btf, const struct btf *base_btf, __u32 **id_map) in btf_relocate() function 449 struct btf_relocate r = {}; in btf_relocate()
|
H A D | Build | 4 usdt.o zip.o elf.o features.o btf_iter.o btf_relocate.o
|
H A D | btf.c | 5660 int err = btf_relocate(btf, base_btf, NULL); in btf__relocate()
|
/linux/kernel/bpf/ |
H A D | Makefile | 54 obj-$(CONFIG_BPF_SYSCALL) += btf_relocate.o
|
H A D | btf.c | 6330 err = btf_relocate(btf, vmlinux_btf, &btf->base_id_map); in btf_parse_module()
|
/linux/include/linux/ |
H A D | btf.h | 562 int btf_relocate(struct btf *btf, const struct btf *base_btf, __u32 **map_ids); 611 static inline int btf_relocate(void *log, struct btf *btf, const struct btf *base_btf, in btf_relocate() function
|