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