aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-03 21:31:01 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 09:07:31 -0700
commitd68ed9b580176d5df41072900afa164edc879282 (patch)
tree36992892200c2625e7cda5149f84f85b4eefc4cc /tools/perf/scripts/python/intel-pt-events.py
parent63ade96711c7a0bb7226f3b029e800fafccd4b0b (diff)
Input: n64joy - 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. 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