summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-08-19 14:31:55 +0100
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-09-15 09:31:19 +0200
commitd71b90e3633ff4af8e915ba7adc3c26f7f5edcfe (patch)
tree07c3520ee0c61dcb204e1f3f0207fba5c9a52fbb /tools/perf/scripts/python/stackcollapse.py
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff)
memory: tegra: make the array list static const, makes object smaller
Don't populate the array list on the stack but instead it static const. Makes the object code smaller by 110 bytes: Before: text data bss dec hex filename 37713 21992 64 59769 e979 .../tegra/tegra210-emc-cc-r21021.o After: text data bss dec hex filename 37539 22056 64 59659 e90b .../tegra/tegra210-emc-cc-r21021.o (gcc version 10.3.0) Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20210819133155.10441-1-colin.king@canonical.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions