summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 07:30:59 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:07:31 +0300
commit60bf2f938980cb464dabab11d41eb37c49fe39ca (patch)
treef0e794e1711d34975d0ee800f59f393c4cdaa7f8 /tools/perf/scripts/python/flamegraph.py
parent556cac064c16f5f2eb17d442c1a78797ad2c962f (diff)
downloadlinux-60bf2f938980cb464dabab11d41eb37c49fe39ca.tar.xz
Input: gamecon - 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-3-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions