diff options
author | Mark Brown <broonie@kernel.org> | 2022-11-29 22:59:24 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-12-01 18:46:45 +0100 |
commit | 92145d88ce0b216c1b99aaac92fec1f6a7d6ddde (patch) | |
tree | 98617167cdecf53956b8e0f72c8c261d081f3d1e /tools/testing | |
parent | kselftest/arm64: Hold fp-stress children until they're all spawned (diff) | |
download | linux-92145d88ce0b216c1b99aaac92fec1f6a7d6ddde.tar.xz linux-92145d88ce0b216c1b99aaac92fec1f6a7d6ddde.zip |
kselftest/arm64: Don't drain output while spawning children
Now we hold execution of the stress test programs until all children are
started there is no need to drain output while that is happening.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221129215926.442895-3-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/testing')
-rw-r--r-- | tools/testing/selftests/arm64/fp/fp-stress.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/testing/selftests/arm64/fp/fp-stress.c b/tools/testing/selftests/arm64/fp/fp-stress.c index 7c04f5001648..b3bbfe8d9f56 100644 --- a/tools/testing/selftests/arm64/fp/fp-stress.c +++ b/tools/testing/selftests/arm64/fp/fp-stress.c @@ -42,8 +42,6 @@ static struct child_data *children; static int num_children; static bool terminate; -static void drain_output(bool flush); - static int startup_pipe[2]; static int num_processors(void) @@ -138,12 +136,6 @@ static void child_start(struct child_data *child, const char *program) ksft_exit_fail_msg("%s EPOLL_CTL_ADD failed: %s (%d)\n", child->name, strerror(errno), errno); } - - /* - * Keep output flowing during child startup so logs - * are more timely, can help debugging. - */ - drain_output(false); } } |