aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ibm_emac/ibm_emac_debug.c
diff options
context:
space:
mode:
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>2025-11-14 19:12:08 +0100
committerJakub Kicinski <kuba@kernel.org>2025-11-17 19:27:46 -0800
commit658e531417801cd8d9aac630cee712e160ab5380 (patch)
tree520c1a2fbfccd4dcf8db4535e9fff0310f7e462f /drivers/net/ibm_emac/ibm_emac_debug.c
parentselftests: mptcp: lib: stats: remove nstat rate columns (diff)
downloadwireguard-linux-658e531417801cd8d9aac630cee712e160ab5380.tar.xz
wireguard-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 'drivers/net/ibm_emac/ibm_emac_debug.c')
0 files changed, 0 insertions, 0 deletions