summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-10-11 10:25:12 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2026-10-11 12:42:26 -0700
commit9f4da2809e541952f20821f8984be16ce4d461d5 (patch)
treee558e967b52b5ee6b9e388c4407c28eddd09eabd /tools/perf/scripts/python/stackcollapse.py
parentff9b071c0e49c14be3089a6d9ef0d3b16e9e59ae (diff)
downloadlinux-next-9f4da2809e541952f20821f8984be16ce4d461d5.tar.gz
linux-next-9f4da2809e541952f20821f8984be16ce4d461d5.zip
assoc_array: move node splitting into a function of its own
Move the code after the do_split_node label into assoc_array_split_node(), which both the split path and the shortcut path still reach through that label. It sets new_n1's back pointer itself, which both paths did before jumping there, and it no longer sets new_n1's parent slot to -1 first: it always sets the real one. No functional change. Assisted-by: LLM Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions