From 4ebe1e296d1121d08a2767a0f511eab64d0a894d Mon Sep 17 00:00:00 2001 From: Petri Latvala Date: Thu, 12 Mar 2020 11:59:43 +0200 Subject: runner: Dump the rest of dmesg also when child refuses to die Signed-off-by: Petri Latvala Reviewed-by: Chris Wilson --- runner/executor.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runner') diff --git a/runner/executor.c b/runner/executor.c index 28b8a443..790f99db 100644 --- a/runner/executor.c +++ b/runner/executor.c @@ -1054,6 +1054,10 @@ static int monitor_output(pid_t child, "but we didn't get informed of its demise...\n"); } + dump_dmesg(kmsgfd, outputs[_F_DMESG]); + if (settings->sync) + fdatasync(outputs[_F_DMESG]); + close_watchdogs(settings); free(outbuf); close(outfd); -- cgit v1.2.3