aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:47:33 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:10:36 -0700
commit543429257d8884742127006eeb6a0ec543dd332f (patch)
treee38860a89036667437a580e9f823a602528f9e92 /tools/perf/scripts/python/intel-pt-events.py
parent21f6b6b47c347e16e5ad95720ae7ebb99a72113c (diff)
Input: ibm-panel - use guard notation when acquiring 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: Eddie James <[email protected]> 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