diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-11-07 21:14:29 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-11-09 19:07:51 -0800 |
commit | 5d4a7aaca1ebcc7c864caec13203662a061c4f4f (patch) | |
tree | 6818494833c1355e4f2369373b0e8f9d4c53f2cc /tools/testing/selftests/bpf/prog_tests/async_stack_depth.c | |
parent | 7f7c43693c1b46652cfafb7af67ba31726d6ec4e (diff) |
veristat: add ability to sort by stat's absolute value
Add ability to sort results by absolute values of specified stats. This
is especially useful to find biggest deviations in comparison mode. When
comparing verifier change effect against a large base of BPF object
files, it's necessary to see big changes both in positive and negative
directions, as both might be a signal for regressions or bugs.
The syntax is natural, e.g., adding `-s '|insns_diff|'^` will instruct
veristat to sort by absolute value of instructions difference in
ascending order.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231108051430.1830950-1-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/async_stack_depth.c')
0 files changed, 0 insertions, 0 deletions