Skip to content

veristat: further usability improvements

Andrii Nakryiko bpf 2 versions – Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesApplied 5/5
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- don't emit progress in non-table mode, as it breaks CSV output.

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5selftests/bpf: add sign-file to .gitignoretools/testing/selftests/bpf/.gitignore+1 -00 repliesApplied
2/5selftests/bpf: make veristat's verifier log parsing faster and more robusttools/testing/selftests/bpf/veristat.c+20 -90 repliesApplied
3/5selftests/bpf: make veristat skip non-BPF and failing-to-open BPF objectstools/testing/selftests/bpf/veristat.c+70 -80 repliesApplied
4/5selftests/bpf: emit processing progress and add quiet mode to veristattools/testing/selftests/bpf/veristat.c+14 -10 repliesApplied
5/5selftests/bpf: allow to adjust BPF verifier log level in veristattools/testing/selftests/bpf/veristat.c+13 -10 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 bpf-next 0/5] veristat: further usability improvements

A small patch set adding few usability improvements and features making veristat a more convenient tool to be used for work on BPF verifier:

- patch #2 speeds up and makes stats parsing from BPF verifier log more

    robust;

- patch #3 makes veristat less strict about input object files; veristat

    will ignore non-BPF ELF files;

- patch #4 adds progress log, by default, so that user doing

    mass-verification is aware that veristat is not stuck;

- patch #5 allows to tune requested BPF verifier log level, which makes veristat a simplest way to get BPF verifier log, especially successfully verified ones.

v1->v2:
- don't emit progress in non-table mode, as it breaks CSV output.

Andrii Nakryiko (5):
selftests/bpf: add sign-file to .gitignore
selftests/bpf: make veristat's verifier log parsing faster and more
robust
selftests/bpf: make veristat skip non-BPF and failing-to-open BPF
objects
selftests/bpf: emit processing progress and add quiet mode to veristat selftests/bpf: allow to adjust BPF verifier log level in veristat

 tools/testing/selftests/bpf/.gitignore |   1 +
 tools/testing/selftests/bpf/veristat.c | 136 +++++++++++++++++++++----
 2 files changed, 118 insertions(+), 19 deletions(-)
Signature · 1 line
2.30.2