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:00 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:37 +0300
commitc6849218541d29a7725fd375b7095cb02df4b422 (patch)
tree626568d4ab2239491b8622e1087ce36643eca2d8 /tools/perf/scripts/python/export-to-postgresql.py
parent0e7b4bc31d171856fcb753f653e0f00855763bf3 (diff)
downloadlinux-c6849218541d29a7725fd375b7095cb02df4b422.tar.xz
Input: powermate - 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. Reviewed-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240904044902.1049017-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