summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGeliang Tang <geliang.tang@linux.dev>2023-12-22 13:47:24 +0100
committerDavid S. Miller <davem@davemloft.net>2024-01-02 13:33:33 +0000
commit0bd962dd86b2e5d097fc42c7411818851eca2995 (patch)
tree0a01326bc089278b4d43b84c2bb67132d41de8d7 /tools/perf/scripts/python/export-to-sqlite.py
parentc693a8516429908da3ea111b0caa3c042ab1e6e9 (diff)
selftests: mptcp: join: check CURRESTAB counters
This patch adds a new helper chk_cestab_nr() to check the current established connections counter MIB_CURRESTAB. Set the newly added variables cestab_ns1 and cestab_ns2 to indicate how many connections are expected in ns1 or ns2. Invoke check_cestab() to check the counter during the connection in do_transfer() and invoke chk_cestab_nr() to re-check it when the connection closed. These checks are embedded in add_tests(). Signed-off-by: Geliang Tang <geliang.tang@linux.dev> Acked-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Matthieu Baerts <matttbe@kernel.org> Signed-off-by: Matthieu Baerts <matttbe@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions