aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-03 21:42:23 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 09:10:35 -0700
commitd8a43a83633a4770f00ee77079fbb7a2218cea2a (patch)
tree16a7a078e1a6bca3d9fb1208e4473341e7efcb4b /tools/perf/scripts/python
parentInput: ati_remote2 - use guard notation when acquiring mutex (diff)
downloadlinux-d8a43a83633a4770f00ee77079fbb7a2218cea2a.tar.gz
linux-d8a43a83633a4770f00ee77079fbb7a2218cea2a.zip
Input: cm109 - 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-4-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions