aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorDouglas Anderson <[email protected]>2023-04-14 00:34:17 +0000
committerMark Brown <[email protected]>2023-04-18 13:02:31 +0000
commit37473397b852f556d8b9428ccbfd51886037842d (patch)
treec9a200937ddc1e3925396fd461ac65d96c1d3028 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentregulator: dt-bindings: qcom,rpmh: Correct PM8550 family supplies (diff)
downloadkernel-37473397b852f556d8b9428ccbfd51886037842d.tar.gz
kernel-37473397b852f556d8b9428ccbfd51886037842d.zip
regulator: core: Make regulator_lock_two() logic easier to follow
The regulator_lock_two() function could be made clearer in the case of lock contention by having a local variable for each of the held and contended locks. Let's do that. At the same time, let's use the swap() function instead of open coding it. This change is expected to be a no-op and simply improves code clarity. Suggested-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/CAE-0n53Eb1BeDPmjBycXUaQAF4ppiAM6UDWje_jiB9GAmR8MMw@mail.gmail.com Signed-off-by: Douglas Anderson <[email protected]> Link: https://lore.kernel.org/r/20230413173359.1.I1ae92b25689bd6579952e6d458b79f5f8054a0c9@changeid Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions