diff options
| author | Andrii Nakryiko <[email protected]> | 2021-10-06 05:11:06 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-10-06 13:36:29 +0000 |
| commit | c65eb8082d4cb02ef87bdecedce8969d5ccbea54 (patch) | |
| tree | f06198f51947f1535e99f73ed78347a46a9c8963 /tools/testing/selftests/bpf/progs/recursion.c | |
| parent | libbpf: Add API that copies all BTF types from one BTF object to another (diff) | |
| download | kernel-c65eb8082d4cb02ef87bdecedce8969d5ccbea54.tar.gz kernel-c65eb8082d4cb02ef87bdecedce8969d5ccbea54.zip | |
selftests/bpf: Refactor btf_write selftest to reuse BTF generation logic
Next patch will need to reuse BTF generation logic, which tests every
supported BTF kind, for testing btf__add_btf() APIs. So restructure
existing selftests and make it as a single subtest that uses bulk
VALIDATE_RAW_BTF() macro for raw BTF dump checking.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Song Liu <[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
