commit | 9d05787223913171fce20a737ba54e3b6e7da13c | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andrii@kernel.org> | Tue Oct 05 22:11:07 2021 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Oct 06 15:36:30 2021 +0200 |
tree | b2c29d4bf5d6ff31f485da575f664bce2192a59e | |
parent | c65eb8082d4cb02ef87bdecedce8969d5ccbea54 [diff] |
selftests/bpf: Test new btf__add_btf() API Add a test that validates that btf__add_btf() API is correctly copying all the types from the source BTF into destination BTF object and adjusts type IDs and string offsets properly. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20211006051107.17921-4-andrii@kernel.org