summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2026-09-25 15:04:30 +0200
committerWill Deacon <will@kernel.org>2026-10-04 17:22:11 +0000
commit7e17084177aa6c76231c6ee8cdbbcd24f40c86cc (patch)
tree311e5c307530c06214896321852f2520220f4f46 /tools/perf/scripts/python/export-to-postgresql.py
parent3a4067658363e34bf4e1d7039e5b52951fcb4012 (diff)
perf: marvell: avoid large stack variables
The probe function in this driver constructs multiple large structures on the stack, which ends up causing a size warning: drivers/perf/marvell_cn10k_ddr_pmu.c:1168:12: error: stack frame size (1296) exceeds limit (1280) in 'cn10k_ddr_perf_probe' [-Werror,-Wframe-larger-than] 1168 | static int cn10k_ddr_perf_probe(struct platform_device *pdev) | ^ Avoid this warning and simplify the code by turning these into static const structures and directly assigning them without the extra copy. Fixes: 9b551a2446b2 ("perf: marvell: Add CN20K DDR PMU support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions