summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-12-30 13:26:40 +0000
committerFelix Fietkau <nbd@nbd.name>2019-01-11 15:10:19 +0100
commit32fb47fd9c5553ab77ad0380e1ac421d7b3ac564 (patch)
tree8f4256942e68c394043b13a4627c8493696d66cd /tools/perf/scripts/python
parentc1e0d2be0acff5e99a59ddcc5af415e48abc6c5e (diff)
downloadlinux-32fb47fd9c5553ab77ad0380e1ac421d7b3ac564.tar.gz
linux-32fb47fd9c5553ab77ad0380e1ac421d7b3ac564.zip
mt76: make const array 'data' static, shrinks object size
Don't populate the const array 'data' on the stack but instead make it static. Makes the object code smaller by 78 bytes: Before: text data bss dec hex filename 5438 1080 0 6518 1976 mediatek/mt76/mt76x2/usb_mcu.o After: text data bss dec hex filename 5296 1144 0 6440 1928 mediatek/mt76/mt76x2/usb_mcu.o (gcc version 8.2.0 x86_64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions