Home
last modified time | relevance | path

Searched refs:btf__relocate (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_distill.c220 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 Dlibbpf.map423 btf__relocate;
H A Dbtf.h268 LIBBPF_API int btf__relocate(struct btf *btf, const struct btf *base_btf);
H A Dbtf.c1219 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