diff options
author | Chris Wilson <chris.p.wilson@intel.com> | 2023-06-05 20:07:45 +0200 |
---|---|---|
committer | Kamil Konieczny <kamil.konieczny@linux.intel.com> | 2023-06-09 15:46:37 +0200 |
commit | bae1607e2907472a3d31be175d626b1848345db0 (patch) | |
tree | 10dc03022330c10ba8a793e0981d72e395b29a3a /runner | |
parent | 03cbd0b480b06200a5aac0b623e0bde02a8fe04e (diff) |
runner: Dump GPU state on timeout
As well as the task and cpu state we show, include the GPU state now
available via sysrq upon a runner abort (typically a timeout for an
unresponsive driver).
Cc: Petri Latvala <adrinael@adrinael.net>
Signed-off-by: Chris Wilson <chris.p.wilson@intel.com>
Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Reviewed-by: Zbigniew KempczyĆski <zbigniew.kempczynski@intel.com>
Diffstat (limited to 'runner')
-rw-r--r-- | runner/executor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runner/executor.c b/runner/executor.c index 597cd7f58..d3e6296dd 100644 --- a/runner/executor.c +++ b/runner/executor.c @@ -748,6 +748,7 @@ static void kmsg_log(int severity, const char *msg) static const char *show_kernel_task_state(const char *msg) { kmsg_log(KMSG_WARN, msg); + sysrq('G'); /* GPU state */ sysrq('t'); /* task state, stack traces and cpu run lists */ sysrq('m'); /* task memory usage */ |