aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-09-04 21:17:15 -0700
committerDmitry Torokhov <[email protected]>2024-10-04 00:58:16 -0700
commit44f920069911437dbce84084de02b5cba4ba94f7 (patch)
tree431e63ae21f980af05b0f7cd64085d037fbd8ecf /tools/perf/scripts/python
parentc91ae81e028f9aa363a38ef46ec5a6ca11a10f10 (diff)
Input: gscps2 - 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/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions