summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-05 07:17:27 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-04 11:04:15 +0300
commit6ed8b7cfc04d11c54ed00c3893b4e5f9ab9bd36f (patch)
tree537d06b0c4b95e821a2e5dad56fb134f084795da /tools/perf/scripts/python/export-to-postgresql.py
parentd49e7d08f08eb2c553a83b408894aad3cb8ccf5e (diff)
downloadlinux-6ed8b7cfc04d11c54ed00c3893b4e5f9ab9bd36f.tar.xz
Input: sun4i-ps2 - 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-23-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions