Home
last modified time | relevance | path

Searched refs:btf__relocate (Results 1 – 5 of 5) 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()
665 ASSERT_EQ(btf__relocate(btf4, btf5), -EINVAL, "relocate_split"); in test_distilled_base_embedded_err()
/linux/tools/lib/bpf/
H A Dlibbpf.map423 btf__relocate;
H A Dbtf.h271 LIBBPF_API int btf__relocate(struct btf *btf, const struct btf *base_btf);
H A Dbtf.c1221 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 Dbtf.rst930 .BTF.base section, and libbpf also provides a btf__relocate() API to