[igt-dev] [PATCH i-g-t 3/3] runner: Log which signal was used to terminate the runner

Arkadiusz Hiler arkadiusz.hiler at intel.com
Fri Jun 14 08:08:16 UTC 2019


Feed the curious ones, aid the troubleshooters.

Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
---
 runner/executor.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/runner/executor.c b/runner/executor.c
index 6b171c12..488cf699 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -738,7 +738,8 @@ static int monitor_output(pid_t child,
 			} else {
 				/* We're dying, so we're taking them with us */
 				if (settings->log_level >= LOG_LEVEL_NORMAL)
-					printf("Abort requested, terminating children\n");
+					printf("Abort requested via %s, terminating children\n",
+					       strsignal(siginfo.ssi_signo));
 
 				aborting = true;
 				timeout = 2;
-- 
2.21.0



More information about the igt-dev mailing list