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:05 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 18:52:33 +0300
commit2e969e5b159d03026d524c334ddad5ddd4435fce (patch)
tree2224385d279eb0dd19a3e1f7e5dc68a951557eeb /tools/perf/scripts/python/sctop.py
parent2e26a761619ed437b1e1b22c27eabdffb708c9f2 (diff)
downloadlinux-2e969e5b159d03026d524c334ddad5ddd4435fce.tar.xz
Input: adp5589-keys - 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-2-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