aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:42:26 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:36 -0700
commit6bbf7efc40f7d43383bac63537a8d4e6253a2e98 (patch)
tree94fb54af1b236981974cd2bc2a1c9ce21fa67702 /tools/perf/scripts/python/libxed.py
parent1313f0ad814e816a96913deee1ac4fe776723cbc (diff)
Input: kxtj9 - use guard notation when acquiring mutex/disabling irq
Using guard notation makes the code more compact and error handling more robust by ensuring that mutexes are released and interrupts are re-enabled 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