aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-04 13:59:18 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:37 -0700
commit0e7b4bc31d171856fcb753f653e0f00855763bf3 (patch)
treeee8aa04cd45afad7dca3b0d4c9e79596454c4cb4 /tools/perf/scripts/python/libxed.py
parent844111df52dc2d1f2da6c80d4b7e219d7b6e16f9 (diff)
Input: pegasus_notetaker - 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/libxed.py')
0 files changed, 0 insertions, 0 deletions