diff options
| author | Colin Ian King <[email protected]> | 2017-09-05 09:07:50 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-10-04 15:25:53 -0300 |
| commit | c25895c7d6c957124ceb3b090b7eaa68b1d3bf54 (patch) | |
| tree | 4183ff9ed6c70fc3481b3ea0d034ba45cd260b52 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 771f87268e8cd0e50719eb20f0b613ec4b2a19ec (diff) | |
[media] media: imon: make two const arrays static, reduces object code size
Don't populate the const arrays vfd_packet6 and fp_packet on the
stack, instead make them static. Makes the object code smaller
by over 600 bytes:
Before:
text data bss dec hex filename
43794 17920 1024 62738 f512 drivers/media/rc/imon.o
After:
text data bss dec hex filename
42994 18080 1024 62098 f292 drivers/media/rc/imon.o
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions