summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-10-11 23:58:00 +0300
committerVinod Koul <vkoul@kernel.org>2024-12-24 13:15:50 +0300
commit9f6caa3978b0e859da39e4ace7973b877222dfd4 (patch)
tree22a87f795f388773861a192fd3623a3ca2f8fb5d /tools/perf/scripts/python/task-analyzer.py
parent36d8cbd661c48f4c18eeb414146ec68a71fd644f (diff)
downloadlinux-9f6caa3978b0e859da39e4ace7973b877222dfd4.tar.xz
dmaengine: mv_xor: switch to for_each_child_of_node_scoped()
Introduce the scoped variant of the loop to automatically release the child node when it goes out of scope, which is more robust than the non-scoped variant, and accounts for new early exits that could be added in the future. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20241011-dma_mv_xor_of_node_put-v1-2-3c2de819f463@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions