aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:42:28 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:36 -0700
commitcf3f3a08e10b366990ba8017406cbec257637805 (patch)
treeb9cf355087147701728ef24ed0e05a749062755b /tools/perf/scripts/python/flamegraph.py
parent0a54609a890e808f9d7ad944a99a25b17153f65c (diff)
Input: drv2665 - 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions