aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:49:29 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:38 -0700
commit868d163aec12bf48fccbf15fd9cf06a55b744317 (patch)
treecd7e5789ea1e2b096b4a3032efda0f40cd4f4c92 /tools/perf/scripts/python/task-analyzer.py
parent2dc387620b85f2061fdcab172efdd9856999e987 (diff)
Input: rotary_encoder - 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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions