summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-08-25 08:16:20 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 18:58:57 +0300
commitb18d9d75dd5996e73fd9dba196cc077f1977f410 (patch)
tree48dbda311a47cde384f5adac49dab436a7fcd19a /tools/perf/scripts/python/sctop.py
parentf0d822986988f364cb1f08620f28bafe232a6ecf (diff)
downloadlinux-b18d9d75dd5996e73fd9dba196cc077f1977f410.tar.xz
Input: st-keyscan - use guard notation when acquiring mutex
This 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. Link: https://lore.kernel.org/r/20240825051627.2848495-17-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions