aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-05-27 03:43:20 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-06-12 21:18:14 +0000
commite590e46b548e0de3df52a8a093639ce67002fae0 (patch)
treed9a5d6b49ef70552ca7a4a892bb46b1b10130264 /tools/perf/util/annotate.c
parentperf sched: Avoid large stack allocations (diff)
downloadkernel-e590e46b548e0de3df52a8a093639ce67002fae0.tar.gz
kernel-e590e46b548e0de3df52a8a093639ce67002fae0.zip
perf script: Remove some large stack allocations
Some char buffers are stack allocated but in total they come to 24kb. Avoid Wstack-usage warnings by moving the arrays to being dynamically allocated. Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions