summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHans Zhang <18255117159@163.com>2026-04-07 09:40:33 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2026-04-09 17:51:21 +0200
commit873cc5560804f5270b1670f8bed4d55400343cf5 (patch)
tree14443ed41a7a680a5441d23c34228b32949863e9 /tools/perf/scripts/python/stackcollapse.py
parent5fa0e32ed4f4a8a62998d0c955311cbfe92919af (diff)
mmc: core: Simplify with scoped for each OF child loop
Use scoped for-each loop when iterating over device nodes to simplify the code, but also to ensure the device node reference is automatically released when the loop scope ends. Signed-off-by: Hans Zhang <18255117159@163.com> Reviewed-by: Shawn Lin <shawn.lin@linux.dev> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions