summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 21:17:27 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-04 01:04:15 -0700
commit6ed8b7cfc04d11c54ed00c3893b4e5f9ab9bd36f (patch)
tree537d06b0c4b95e821a2e5dad56fb134f084795da /tools/perf/scripts/python/event_analyzing_sample.py
parentd49e7d08f08eb2c553a83b408894aad3cb8ccf5e (diff)
Input: sun4i-ps2 - 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. Link: https://lore.kernel.org/r/20240905041732.2034348-23-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