aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-09-06 05:58:39 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-01 16:44:28 -0300
commitba0c8e6eed0712d69a6199d2797a5cc2ee07db57 (patch)
tree969e75869febdb5db77de86a5bdc19fcf3517077 /tools/perf/scripts
parentmedia: s3c-camif: make array 'registers' static const, makes object smaller (diff)
media: em28xx: make various arrays static const, makes object smaller
Don't populate the arrays on the stack but instead make them static const. Makes the object code smaller by 767 bytes. Before: text data bss dec hex filename 41567 15088 192 56847 de0f em28xx/em28xx-dvb.o After: text data bss dec hex filename 39872 16016 192 56080 db10 em28xx/em28xx-dvb.o (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions