diff options
| author | Andrii Nakryiko <[email protected]> | 2021-10-06 05:11:07 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-10-06 13:36:30 +0000 |
| commit | 9d05787223913171fce20a737ba54e3b6e7da13c (patch) | |
| tree | b2c29d4bf5d6ff31f485da575f664bce2192a59e /tools/testing/selftests/bpf/progs/recursion.c | |
| parent | selftests/bpf: Refactor btf_write selftest to reuse BTF generation logic (diff) | |
| download | kernel-9d05787223913171fce20a737ba54e3b6e7da13c.tar.gz kernel-9d05787223913171fce20a737ba54e3b6e7da13c.zip | |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recursion.c')
0 files changed, 0 insertions, 0 deletions
