diff options
author | 2018-07-24 15:53:34 -0400 | |
---|---|---|
committer | 2018-07-25 07:46:48 +0200 | |
commit | e66565f3bee141748d2c3b2ed0d4ecd455f634fa (patch) | |
tree | 1c93844b2b0a9d4d06bcd36f6ef7acb6e087ebb2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bpf: btf: fix inconsistent IS_ERR and PTR_ERR (diff) | |
download | wireguard-linux-e66565f3bee141748d2c3b2ed0d4ecd455f634fa.tar.xz wireguard-linux-e66565f3bee141748d2c3b2ed0d4ecd455f634fa.zip |
bpf: Add Python 3 support to selftests scripts for bpf
Adjust tcp_client.py and tcp_server.py to work with Python 3 by using
the print function, marking string literals as bytes, and using the
newer exception syntax. This should be functionally equivalent and
supports Python 3+.
Signed-off-by: Jeremy Cline <jcline@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions