diff options
| author | Matthieu Baerts (NGI0) <matttbe@kernel.org> | 2025-11-14 19:12:08 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-17 19:27:46 -0800 |
| commit | 658e531417801cd8d9aac630cee712e160ab5380 (patch) | |
| tree | 520c1a2fbfccd4dcf8db4535e9fff0310f7e462f /tools/perf/scripts/python | |
| parent | 2e6daf6b9bc86e3fe0e3217def16aaaaf0924801 (diff) | |
| download | linux-658e531417801cd8d9aac630cee712e160ab5380.tar.gz linux-658e531417801cd8d9aac630cee712e160ab5380.zip | |
selftests: mptcp: join: dump stats from history
In case of errors, dump the stats from history instead of using nstat.
There are multiple advantages to that:
- The same filters from pr_err_stats are used, e.g. the unused 'rate'
column is not displayed.
- The counters are closer to the ones from when the test stopped.
- While at it, the errors can be better presented: error colours, a
small indentation to distinguish the different parts, extra new lines.
Even if it should only happen in rare cases -- internal errors, or netns
issues -- if no history is available, 'nstat' is used like before, just
in case.
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20251114-net-next-mptcp-sft-count-cache-stats-timeout-v1-4-863cb04e1b7b@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
