diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-10-11 10:25:12 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-10-13 09:44:51 -0700 |
| commit | 3c99a07bc82b051771ce0eb69274aceb9abf1eb7 (patch) | |
| tree | d1a11586324809c84e3249ced4c74b7b00166cba /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1159eaf9acb3de1417fb86b382b5e41b46eb17a4 (diff) | |
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>
Tested-by: David Howells <dhowells@redhat.com>
Reviewed-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
