diff options
| author | Colin Ian King <[email protected]> | 2021-02-04 18:08:50 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-03-11 11:59:42 +0100 |
| commit | 0c8be47d4a72702382637775d61584a1f097f071 (patch) | |
| tree | af916a0defb2b0dde4baf311953bbac1a93934a0 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | bcbe55dc7b41c333970bde85eddfc5ac23e87433 (diff) | |
media: platform: sti: make a const arrays static, makes object smaller
Don't populate the const arrays on the stack but instead it
static. Makes the object code smaller by 8 bytes:
Before:
text data bss dec hex filename
12504 4568 0 17072 42b0 media/platform/sti/hva/hva-h264.o
After:
text data bss dec hex filename
12272 4792 0 17064 42a8 media/platform/sti/hva/hva-h264.o
(gcc version 10.2.0)
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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions