summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIhor Solodrai <ihor.solodrai@linux.dev>2026-07-22 16:35:11 -0700
committerAndrii Nakryiko <andrii@kernel.org>2026-07-30 12:48:07 -0700
commit47d62db5504300bb0f85983e45726905be7166cb (patch)
tree2ce3e66c1a35406151d54d9fc7c5e0efad26f059 /tools/perf/scripts/python/stackcollapse.py
parentfdec474c65fd35d5a6e1497ed50a9f98c07192f0 (diff)
resolve_btfids: Implement generic ensure_mem() to grow arrays
push_*() helpers in resolve_btfids contain copy-pasted array growth logic. Factor it out into ensure_mem() - a simplified variant of libbpf_ensure_mem(), and use it in the helpers. Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/bpf/20260722233518.778854-2-ihor.solodrai@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions