aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-09-12 12:38:35 +0100
committerGreg Kroah-Hartman <[email protected]>2017-09-18 12:44:11 +0200
commit38502ef49f96f7fe25fcb3aaa904a570df955c2c (patch)
tree4f00dcf694309a2a032a0786e0f337b2bc571642 /tools/perf/scripts/python/bin/stackcollapse-record
parent4c87b3e58d0204d31eb00c76f323ecffd1960a91 (diff)
usb: storage: make const arrays static, reduces object code size
Don't populate const arrays on the stack, instead make them static. Makes the object code smaller by over 1070 bytes: Before: text data bss dec hex filename 3505 880 0 4385 1121 drivers/usb/storage/option_ms.o After: text data bss dec hex filename 2269 1040 0 3309 ced drivers/usb/storage/option_ms.o Signed-off-by: Colin Ian King <[email protected]> Acked-by: Alan Stern <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions