Searched refs:btf__relocate (Results 1 – 4 of 4) 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()
|
/linux/tools/lib/bpf/ |
H A D | libbpf.map | 423 btf__relocate;
|
H A D | btf.h | 268 LIBBPF_API int btf__relocate(struct btf *btf, const struct btf *base_btf);
|
H A D | btf.c | 1219 err = btf__relocate(btf, base_btf); in btf_parse_elf() 5493 int btf__relocate(struct btf *btf, const struct btf *base_btf) in btf__relocate() function
|