mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 17:06:14 +00:00
lib: Don't report the last errno inside the async GPU hang detector
Since the last errno doesn't correspond with the signal, reporting it when we detect the GPU hang is confusing. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
8833648b5c
commit
cb12d05e79
@ -403,6 +403,7 @@ hang_detector_process(pid_t pid, dev_t rdev)
|
|||||||
|
|
||||||
static void sig_abort(int sig)
|
static void sig_abort(int sig)
|
||||||
{
|
{
|
||||||
|
errno = 0; /* inside a signal, last errno reporting is confusing */
|
||||||
igt_assert(!"GPU hung");
|
igt_assert(!"GPU hung");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user