aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-09-06 05:58:39 -0300
committerMauro Carvalho Chehab <[email protected]>2019-10-01 16:44:28 -0300
commitba0c8e6eed0712d69a6199d2797a5cc2ee07db57 (patch)
tree969e75869febdb5db77de86a5bdc19fcf3517077 /tools/perf/scripts/python
parent5914ecf4b18fcc242e81ebbae255bb32ba2f3da2 (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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions