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 23:59:18 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:37 +0300
commit0e7b4bc31d171856fcb753f653e0f00855763bf3 (patch)
treeee8aa04cd45afad7dca3b0d4c9e79596454c4cb4 /tools/perf/scripts/python/export-to-postgresql.py
parent844111df52dc2d1f2da6c80d4b7e219d7b6e16f9 (diff)
downloadlinux-0e7b4bc31d171856fcb753f653e0f00855763bf3.tar.xz
Input: pegasus_notetaker - 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/ZtjKJsArLu3byTU6@google.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