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:22 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-04 00:58:17 -0700
commitd8ea63cb4475f1e7ac2979d7181e2b9114c7f5b2 (patch)
tree0075db246b599143ebbd4070d4b328f1e74c2451 /tools/perf/scripts/python/exported-sql-viewer.py
parent424bc7e00a3495afb6ea85696b530b3f47bc24fb (diff)
Input: sa1111ps2 - 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-18-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