Searched refs:btf__relocate (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_distill.c | 220 if (!ASSERT_EQ(btf__relocate(btf4, btf1), 0, "relocate_split")) in test_distilled_base() 332 if (!ASSERT_EQ(btf__relocate(btf4, btf1), 0, "relocate_split")) in test_distilled_base_multi() 393 ASSERT_EQ(btf__relocate(btf4, btf5), -EINVAL, "relocate_split"); in test_distilled_base_missing_err() 440 ASSERT_EQ(btf__relocate(btf4, btf1), -EINVAL, "relocate_split"); in test_distilled_base_multi_err() 488 ASSERT_EQ(btf__relocate(btf4, btf5), -EINVAL, "relocate_split"); in test_distilled_base_multi_err2() 665 ASSERT_EQ(btf__relocate(btf4, btf5), -EINVAL, "relocate_split"); in test_distilled_base_embedded_err()
|
/linux/tools/lib/bpf/ |
H A D | libbpf.map | 423 btf__relocate;
|
H A D | btf.h | 271 LIBBPF_API int btf__relocate(struct btf *btf, const struct btf *base_btf);
|
H A D | btf.c | 1221 err = btf__relocate(btf, base_btf); in btf_parse_elf() 5658 int btf__relocate(struct btf *btf, const struct btf *base_btf) in btf__relocate() function
|
/linux/Documentation/bpf/ |
H A D | btf.rst | 930 .BTF.base section, and libbpf also provides a btf__relocate() API to
|