Searched refs:btf__relocate (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
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-6.12.1/tools/lib/bpf/ |
D | libbpf.map | 423 btf__relocate;
|
D | btf.h | 268 LIBBPF_API int btf__relocate(struct btf *btf, const struct btf *base_btf);
|
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
|