summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGeliang Tang <geliang.tang@suse.com>2022-11-30 17:06:32 +0300
committerJakub Kicinski <kuba@kernel.org>2022-12-02 07:06:07 +0300
commita3735625572d8f9cac3eb12a43c869d97ccbf584 (patch)
treeda1751e1eb5a94649cf82279b0d07504e48b8db8 /tools/perf/scripts/python/export-to-postgresql.py
parent6c73008aa301b7456b80d0e1416a240815fe947b (diff)
downloadlinux-a3735625572d8f9cac3eb12a43c869d97ccbf584.tar.xz
selftests: mptcp: make evts global in mptcp_join
This patch moves evts_ns1 and evts_ns2 out of do_transfer() as two global variables in mptcp_join.sh. Init them in init() and remove them in cleanup(). Add a new helper reset_with_events() to save the outputs of 'pm_nl_ctl events' command in them. And a new helper kill_events_pids() to kill pids of 'pm_nl_ctl events' command. Use these helpers in userspace pm tests. Suggested-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Geliang Tang <geliang.tang@suse.com> Acked-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions