summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2018-01-22 21:35:27 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-24 12:46:58 +0300
commit6627426fa2741866f1bdd194216a91a82ec063e4 (patch)
treec5bc8fa04ca4d023831b1ecbd3b12d2af67ba3f2 /tools/perf/scripts/python
parent31e95b61e172144bb2b626a291db1bdc0769275b (diff)
downloadlinux-6627426fa2741866f1bdd194216a91a82ec063e4.tar.xz
bpf: refactor sockmap sample program update for arg parsing
sockmap sample program takes arguments from cmd line but it reads them in using offsets into the array. Because we want to add more arguments in the future lets do proper argument handling. Also refactor code to pull apart sock init and ping/pong test. This allows us to add new tests in the future. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions