summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 07:30:58 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:07:31 +0300
commit556cac064c16f5f2eb17d442c1a78797ad2c962f (patch)
treeba04a501e39603952950d58c197de71df447af47 /tools/perf/scripts/python/export-to-sqlite.py
parentb18d9d75dd5996e73fd9dba196cc077f1977f410 (diff)
downloadlinux-556cac064c16f5f2eb17d442c1a78797ad2c962f.tar.xz
Input: db9 - 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. Link: https://lore.kernel.org/r/20240904043104.1030257-2-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions