summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2026-09-24 14:30:54 +0800
committerMark Brown <broonie@kernel.org>2026-09-28 19:49:38 +0100
commit555a1bd78bbc234342a8f3324a2487a56a118749 (patch)
tree5df5bbbaf506da0f6b2d7667a72aba4c04696f66 /tools/perf/scripts/python/task-analyzer.py
parent23f1120dcbea0089b63f2e4afd671b4b012864cb (diff)
regcache: rbtree: use the regmap scoped lock guard
Convert the open-coded map->lock()/map->unlock() pair in rbtree_show() to guard(regmap)(). The locked region spans the whole function body up to the single return, so a function-scope guard drops the manual unlock with no functional change. Assisted-by: LLM Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://patch.msgid.link/20260924-regmap-lock-guard-v3-3-8a6127223c16@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions