aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-02-14 22:35:43 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2018-02-15 18:20:14 -0500
commitc62f40bfb26356bb289267f3b802ec0434fdc118 (patch)
tree6fc84d5f5972737f4eed464c43e330cb4ba40be2 /tools/perf/scripts/python/net_dropmonitor.py
parentscsi: scsi_debug: reset injection flags for every_nth > 0 (diff)
downloadlinux-c62f40bfb26356bb289267f3b802ec0434fdc118.tar.gz
linux-c62f40bfb26356bb289267f3b802ec0434fdc118.zip
scsi: scsi_transport_spi: make two const arrays static, shrinks object size
Don't populate the const read-only arrays spi_test_unit_ready and spi_test_unit_ready on the stack but instead make them static. Makes the object code smaller by over 100 bytes: Before: text data bss dec hex filename 40171 12832 128 53131 cf8b drivers/scsi/scsi_transport_spi.o After: text data bss dec hex filename 39922 12976 128 53026 cf22 drivers/scsi/scsi_transport_spi.o (gcc version 7.2.0 x86_64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions