summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 21:17:16 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-04 00:58:16 -0700
commit79d01971fad360256167c4665907f1fe5ebd5e41 (patch)
tree89a924f42fe5438c5290e4d1b2e655385ff1f829 /tools/perf/scripts/python/exported-sql-viewer.py
parent44f920069911437dbce84084de02b5cba4ba94f7 (diff)
Input: hyperv-keyboard - use guard notation when acquiring spinlock
Using guard notation makes the code more compact and error handling more robust by ensuring that locks are released in all code paths when control leaves critical section. Link: https://lore.kernel.org/r/20240905041732.2034348-12-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions