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:19 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 18:58:57 +0300
commitf0d822986988f364cb1f08620f28bafe232a6ecf (patch)
tree7f6346c054caff8178c8ec673a7e5710645486d2 /tools/perf/scripts/python/sctop.py
parentb8a3e18141659d72d1b5500e5bcc6b81f19477af (diff)
downloadlinux-f0d822986988f364cb1f08620f28bafe232a6ecf.tar.xz
Input: spear-keyboard - 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-16-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