summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 07:42:21 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:35 +0300
commitf9f37373ff02b64a46b266d25d680a061ed13a8d (patch)
tree6e74b2f707dbad5450dd5d41cd8c761bf84b02d4 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent45a81459722aa48de343910001355b0108b9c16b (diff)
downloadlinux-f9f37373ff02b64a46b266d25d680a061ed13a8d.tar.xz
Input: ad714x - use guard notation when acquiring mutex
Using guard notation makes the code more compact and error handling more robust by ensuring that mutexes are released in all code paths when control leaves critical section. Reviewed-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240904044244.1042174-2-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions