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:20 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-04 00:58:16 -0700
commit9d58ae181d0dbaf445a18079528b8e3b7f669f9b (patch)
treedf3c20ddb7a788b69216f9b7386e7189603683f5 /tools/perf/scripts/python/exported-sql-viewer.py
parent31b6b9a46d0af9c1ec7133e41302b3ef76016b04 (diff)
Input: ps2mult - 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-16-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