summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2021-01-14 06:09:41 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-15 03:26:48 +0300
commit6469403c97b486285365c590a8f9eaad9c72f5c5 (patch)
tree14cfeb25b6a3a6ad75fe6de3b42aca66f37affc5 /tools/perf/scripts/python
parent092e0ceb12f28450c8db095b5f417fde923abc07 (diff)
downloadlinux-6469403c97b486285365c590a8f9eaad9c72f5c5.tar.xz
selftests: Add support to nettest to run both client and server
Add option to nettest to run both client and server within a single instance. Client forks a child process to run the server code. A pipe is used for the server to tell the client it has initialized and is ready or had an error. This avoid unnecessary sleeps to handle such race when the commands are separately launched. Signed-off-by: Seth David Schoen <schoen@loyalty.org> Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions