summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2021-07-01 10:09:28 +0300
committerOded Gabbay <ogabbay@kernel.org>2021-08-29 09:47:45 +0300
commitb07e6c7ef5c7a094c20fa9962f9af2b42546ee94 (patch)
tree65861aac115be38bf5f010d75de1ce4ceeb4fc36 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentd5546d78ad409b90dbcb62100458875e8eaf6a0d (diff)
downloadlinux-b07e6c7ef5c7a094c20fa9962f9af2b42546ee94.tar.xz
habanalabs: release pending user interrupts on device fini
In device fini there was missing a call to release all pending user interrupts. That can cause a process to be stuck inside the driver's IOCTL of wait for interrupts, in case the device is removed or simulator is killed at the same time. In addition, also call to remove inactive codec job was missing. Moreover, to prevent such errors in the future (where code is added to reset path but not to device fini), we moved some common parts to two dedicated functions: cleanup_resources take_release_locks Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions