summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-08-25 08:30:57 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-06 08:52:37 +0300
commitd5322d537c2355fb2e7b1b0362a21e9c87c4b585 (patch)
treea779470af67ca6599e53ab5b15a97a38f203db04 /tools/perf/scripts/python/export-to-postgresql.py
parent8e028d60ee55a61e88c90028d205c4322327fa8f (diff)
downloadlinux-d5322d537c2355fb2e7b1b0362a21e9c87c4b585.tar.xz
Input: alps - use guard notation when acquiring mutex
This 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. Acked-by: Pali Rohár <pali@kernel.org> Link: https://lore.kernel.org/r/ZsrBkWIpyEqzClUG@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