summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-03 21:47:55 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 09:10:36 -0700
commitd88460e48014a279b95e77ef24074c401f9d37c6 (patch)
tree911ecd31e71a6f41bdd12f5428deb76158aa3638 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent543429257d8884742127006eeb6a0ec543dd332f (diff)
Input: iqs269a - 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: Jeff LaBundy <jeff@labundy.com> Link: https://lore.kernel.org/r/20240904044756.1047629-1-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions