]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kselftest/arm64: Log fp-stress child startup errors to stdout
authorMark Brown <broonie@kernel.org>
Tue, 22 Oct 2024 23:20:45 +0000 (00:20 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 23 Oct 2024 11:02:39 +0000 (12:02 +0100)
commitdca93d29845dfed60910ba13dbfb6ae6a0e19f6d
treebd83363c811ca6d4ae3cbfb0e0aeca3def063cea
parent7a08cb9b4bb92fb86f5fe8a3aa0ac08a9b3d783b
kselftest/arm64: Log fp-stress child startup errors to stdout

Currently if we encounter an error between fork() and exec() of a child
process we log the error to stderr. This means that the errors don't get
annotated with the child information which makes diagnostics harder and
means that if we miss the exit signal from the child we can deadlock
waiting for output from the child. Improve robustness and output quality
by logging to stdout instead.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20241023-arm64-fp-stress-exec-fail-v1-1-ee3c62932c15@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/fp-stress.c