aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2019-08-01 11:56:34 -0700
committerDavid S. Miller <[email protected]>2019-08-03 10:42:04 -0700
commitacda655fefae352a48eec87c8f8487de1608a48b (patch)
tree3d12f9faf913ca87c50164d0338bae0c80b1eb1e /tools/perf/scripts/python/check-perf-trace.py
parent856a27236ee3107313ae9911e203679e7ca9a369 (diff)
selftests: Add nettest
Add nettest - a simple program with an implementation for various networking APIs. nettest is used for tcp, udp and raw functional tests for both IPv4 and IPv6. Point of this command versus existing utilities: - controlled implementation of the APIs and the order in which they are called, - ability to verify ingress device, local and remote addresses, - timeout for controlled test length, - ability to discriminate a timeout from a system call failure, and - simplicity with test scripts. The command returns: 0 on success, 1 for any system call failure, and 2 on timeout. Signed-off-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions