diff options
author | Tomer Tayar <[email protected]> | 2022-12-04 22:09:08 +0200 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2023-01-26 10:56:22 +0200 |
commit | dd7a82b52cc16c110269c608533ec1ee47d342fd (patch) | |
tree | 9fe7473bbf5bca04b1465dc74ff13c8f6ddca98e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5f8ee3c98ed31b60bffdd332d38ff3a27b9f2609 (diff) |
habanalabs: fix handling of wait CS for interrupting signals
The -ERESTARTSYS return value is not handled correctly when a signal is
received while waiting for CS completion.
This can lead to bad output values to user when waiting for a single CS
completion, and more severe, it can cause a non-stopping loop when
waiting to multi-CS completion and until a CS timeout.
Fix the handling and exit the waiting if this return value is received.
Signed-off-by: Tomer Tayar <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions