diff options
| author | Mauricio Vásquez <[email protected]> | 2022-02-15 17:58:56 -0500 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-02-16 10:14:34 -0800 |
| commit | 704c91e59fe045708aa3f11d0c2bf9c83e39d24c (patch) | |
| tree | c21e843d3c3be73c57977cde514121d3b806ec4f /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1d1ffbf7f0b261fd5dcac2cd40a92b9394df08f6 (diff) | |
selftests/bpf: Test "bpftool gen min_core_btf"
This commit reuses the core_reloc test to check if the BTF files
generated with "bpftool gen min_core_btf" are correct. This introduces
test_core_btfgen() that runs all the core_reloc tests, but this time
the source BTF files are generated by using "bpftool gen min_core_btf".
The goal of this test is to check that the generated files are usable,
and not to check if the algorithm is creating an optimized BTF file.
Signed-off-by: Mauricio Vásquez <[email protected]>
Signed-off-by: Rafael David Tinoco <[email protected]>
Signed-off-by: Lorenzo Fontana <[email protected]>
Signed-off-by: Leonardo Di Donato <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions