diff options
author | Andrii Nakryiko <[email protected]> | 2020-11-04 20:33:56 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-11-05 18:37:30 -0800 |
commit | 1306c980cf892bc17e7296d3e9ab8e9082f893a1 (patch) | |
tree | 4d0fd52e7c7133816bb205c02401996efdfc262f /tools/perf/scripts/python/sctop.py | |
parent | 197389da2fbfbc3cefb229268c32d858d9575c96 (diff) |
selftests/bpf: Add checking of raw type dump in BTF writer APIs selftests
Add re-usable btf_helpers.{c,h} to provide BTF-related testing routines. Start
with adding a raw BTF dumping helpers.
Raw BTF dump is the most succinct and at the same time a very human-friendly
way to validate exact contents of BTF types. Cross-validate raw BTF dump and
writable BTF in a single selftest. Raw type dump checks also serve as a good
self-documentation.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions