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:14 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 18:53:31 +0300
commite9495ead523f5d44d149c10ce30eba8e6f375ce5 (patch)
tree549bbb2a71124161455af7d34b7128ba9747f8e0 /tools/perf/scripts/python/sctop.py
parent02e4f823ce7838321b0c554ab000e1ceb5849c4e (diff)
downloadlinux-e9495ead523f5d44d149c10ce30eba8e6f375ce5.tar.xz
Input: lpc32xx-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-11-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