aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2023-06-23 10:34:12 -0700
committerJakub Kicinski <[email protected]>2023-06-24 15:37:57 -0700
commit1534f87ee0dc1328043f7d0872fbf34937185682 (patch)
tree7fade7b52e27e32f00f16a066549e36302f398c5 /tools/perf/scripts/python/stat-cpi.py
parent595ef566a2ef9af9e799491580e57c09c64c4e6d (diff)
selftests: mptcp: drop sflags parameter
run_tests() accepts too many optional parameters. Before this modification, it was required to set all of then when only the last one had to be changed. That's not clear to see all these 0 and it makes the maintenance harder: run_tests $ns1 $ns2 10.0.1.1 1 2 3 slow Instead, the parameter can be set as an env var with a limited scope: foo=1 bar=2 next=3 \ run_tests $ns1 $ns2 10.0.1.1 slow This patch switches to key/value "sflags=*" instead of positional parameter sflags of do_transfer() and run_tests(). Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions