summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 07:49:29 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:38 +0300
commit868d163aec12bf48fccbf15fd9cf06a55b744317 (patch)
treecd7e5789ea1e2b096b4a3032efda0f40cd4f4c92 /tools/perf/scripts/python/export-to-postgresql.py
parent2dc387620b85f2061fdcab172efdd9856999e987 (diff)
downloadlinux-868d163aec12bf48fccbf15fd9cf06a55b744317.tar.xz
Input: rotary_encoder - use guard notation when acquiring mutex
Using guard notation 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. Reviewed-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240904044929.1049700-1-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