summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2023-05-30 20:21:03 +0300
committerJosh Poimboeuf <jpoimboe@kernel.org>2023-06-07 20:03:20 +0300
commite0a9349b4c590145c6a83e6c9f7701cec42debbd (patch)
treec687b29b9e393fb9892da91a64f0adea575f6831 /tools/perf/scripts/python/stackcollapse.py
parentcaa4a6b74b405ddaea40e2946cc3983aac96451d (diff)
downloadlinux-e0a9349b4c590145c6a83e6c9f7701cec42debbd.tar.xz
objtool: Allocate relocs in advance for new rela sections
Similar to read_relocs(), allocate the reloc structs all together in an array rather than allocating them one at a time. Link: https://lore.kernel.org/r/5332d845c5a2d6c2d052075b381bfba8bcb67ed5.1685464332.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions