aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-03 21:30:59 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 09:07:31 -0700
commit60bf2f938980cb464dabab11d41eb37c49fe39ca (patch)
treef0e794e1711d34975d0ee800f59f393c4cdaa7f8 /tools/perf/scripts/python/event_analyzing_sample.py
parentInput: db9 - use guard notation when acquiring mutex (diff)
downloadlinux-60bf2f938980cb464dabab11d41eb37c49fe39ca.tar.gz
linux-60bf2f938980cb464dabab11d41eb37c49fe39ca.zip
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/20240904043104.1030257-3-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions