[igt-dev] [PATCH i-g-t 3/3] runner: Log which signal was used to terminate the runner
Ser, Simon
simon.ser at intel.com
Fri Jun 14 08:21:42 UTC 2019
On Fri, 2019-06-14 at 11:08 +0300, Arkadiusz Hiler wrote:
> Feed the curious ones, aid the troubleshooters.
>
> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
Nice series
Reviewed-by: Simon Ser <simon.ser 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;
More information about the igt-dev
mailing list