diff options
| author | Andrii Nakryiko <[email protected]> | 2022-10-05 16:14:49 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-10-05 23:55:11 +0000 |
| commit | 6df2eb45e378f38ca42776276e7bb5b5078c12cf (patch) | |
| tree | 3c04a3c7e55fd98857faae8eaffcf55ded9633fc /scripts/bpf_doc.py | |
| parent | selftests/bpf: allow requesting log level 2 in test_verifier (diff) | |
| download | kernel-6df2eb45e378f38ca42776276e7bb5b5078c12cf.tar.gz kernel-6df2eb45e378f38ca42776276e7bb5b5078c12cf.zip | |
selftests/bpf: avoid reporting +100% difference in veristat for actual 0%
In special case when both base and comparison values are 0, veristat
currently reports "+0 (+100%)" difference, which is quite confusing. Fix
it up to be "+0 (+0%)".
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
