aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:31:03 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:07:32 -0700
commit45a81459722aa48de343910001355b0108b9c16b (patch)
treecdad151eeaeef6c8addbc30c84bca02b3c96079f /tools/perf/scripts/python/event_analyzing_sample.py
parent10068a36b01dc25f598259ffd0562f474ae3ed94 (diff)
Input: xpad - use guard notation when acquiring mutex and spinlock
Using guard notation makes the code more compact and error handling more robust by ensuring that locks are released in all code paths when control leaves critical section. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions