diff options
| author | Colin Ian King <[email protected]> | 2019-09-06 18:01:04 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-09-30 22:47:21 -0400 |
| commit | 7e52440c81aa2cf200102072e337ab6b11c331ef (patch) | |
| tree | 6819d49fbfeaa704e6593bd7e06a2b56b26b3ccc /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 5ece56a2a6b24f635bd46931467bd70acd8bcce9 (diff) | |
scsi: ufs: make array setup_attrs static const, makes object smaller
Don't populate the array setup_attrs on the stack but instead make it
static const. Makes the object code smaller by 180 bytes.
Before:
text data bss dec hex filename
2140 224 0 2364 93c drivers/scsi/ufs/ufshcd-dwc.o
After:
text data bss dec hex filename
1863 320 0 2183 887 drivers/scsi/ufs/ufshcd-dwc.o
(gcc version 9.2.1, amd64)
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions