summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-04 07:42:25 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 19:10:35 +0300
commit1313f0ad814e816a96913deee1ac4fe776723cbc (patch)
tree8ec6a44ff76c0c95609041b4a1e826d360317008 /tools/perf/scripts/python/intel-pt-events.py
parent0cc842d191b4f0ccf2a72795f49b5d9e28fcc91e (diff)
downloadlinux-1313f0ad814e816a96913deee1ac4fe776723cbc.tar.xz
Input: da7280 - use guard notation when acquiring mutex and 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. Reviewed-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240904044244.1042174-6-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions