diff options
author | 2021-10-05 22:11:06 -0700 | |
---|---|---|
committer | 2021-10-06 15:36:29 +0200 | |
commit | c65eb8082d4cb02ef87bdecedce8969d5ccbea54 (patch) | |
tree | f06198f51947f1535e99f73ed78347a46a9c8963 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | libbpf: Add API that copies all BTF types from one BTF object to another (diff) | |
download | linux-dev-c65eb8082d4cb02ef87bdecedce8969d5ccbea54.tar.xz linux-dev-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 <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20211006051107.17921-3-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions