summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2022-11-08 14:34:43 +0200
committerOded Gabbay <ogabbay@kernel.org>2023-01-26 10:56:20 +0200
commitce259804d22f16eac8e6e4757b48fe4d98e76cc6 (patch)
tree190f008ae0647ddc8df09b8df0b8f6caa2082c9f /tools/perf/scripts/python/export-to-postgresql.py
parentcdacf3c0007e42feca23ad4021eaa2de5a589988 (diff)
habanalabs: abort waiting user threads upon error
User should close the FD when being notified about an error, after which a device reset takes place. However, if the user has pending threads that wait for completions, the device release won't be called and eventually the watchdog timeout will expire, leading to hard reset and killing the user process. To avoid it, abort such waiting threads right after the error notification, and block following waiting operations. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions