summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2025-02-19 11:45:26 +0300
committerJakub Kicinski <kuba@kernel.org>2025-02-21 04:24:56 +0300
commit1e5e511373fe1348ed24372cf2a81234b32ac935 (patch)
tree1a421ab893878eead93bbcbf97e009d93b9b20d6 /tools/perf/scripts/python/gecko.py
parent1c3bc2c325f89e21f52af4a5c940ed1d89e05229 (diff)
downloadlinux-1e5e511373fe1348ed24372cf2a81234b32ac935.tar.xz
net: pktgen: fix ctrl interface command parsing
Enable command writing without trailing '\n': - the good case $ echo "reset" > /proc/net/pktgen/pgctrl - the bad case (before the patch) $ echo -n "reset" > /proc/net/pktgen/pgctrl -bash: echo: write error: Invalid argument - with patch applied $ echo -n "reset" > /proc/net/pktgen/pgctrl Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250219084527.20488-7-ps.report@gmx.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions