summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-03 21:31:00 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 09:07:31 -0700
commit63ade96711c7a0bb7226f3b029e800fafccd4b0b (patch)
tree8eb37028226727cb5c9594ee86489ac782eadd04 /tools/perf/scripts/python
parent60bf2f938980cb464dabab11d41eb37c49fe39ca (diff)
Input: iforce - 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. Link: https://lore.kernel.org/r/20240904043104.1030257-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