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:31:02 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 09:07:32 -0700
commit10068a36b01dc25f598259ffd0562f474ae3ed94 (patch)
treed4af8aecd4fbb6c067762de6f97fa91bdff47dd5 /tools/perf/scripts/python/event_analyzing_sample.py
parentInput: n64joy - use guard notation when acquiring mutex (diff)
downloadlinux-10068a36b01dc25f598259ffd0562f474ae3ed94.tar.gz
linux-10068a36b01dc25f598259ffd0562f474ae3ed94.zip
Input: turbografx - 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-6-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