aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:42:25 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:35 -0700
commit1313f0ad814e816a96913deee1ac4fe776723cbc (patch)
tree8ec6a44ff76c0c95609041b4a1e826d360317008 /tools/perf/scripts/python/intel-pt-events.py
parent0cc842d191b4f0ccf2a72795f49b5d9e28fcc91e (diff)
Input: da7280 - 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. 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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions