diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-08-19 14:58:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-19 15:23:20 +0300 |
commit | 0bc277cb8234f8e6fcf8842e318e0873dd223565 (patch) | |
tree | 8be48807dfda19f0a2fb44fc8ed11e29848cdf58 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 36d5825babbc9a5b504bb566f0241ac005b32721 (diff) | |
download | linux-0bc277cb8234f8e6fcf8842e318e0873dd223565.tar.xz |
net: hns3: make array spec_opcode static const, makes object smaller
Don't populate the array spec_opcode on the stack but instead it
static const. Makes the object code smaller by 158 bytes:
Before:
text data bss dec hex filename
12271 3976 128 16375 3ff7 .../hisilicon/hns3/hns3pf/hclge_cmd.o
After:
text data bss dec hex filename
12017 4072 128 16217 3f59 .../hisilicon/hns3/hns3pf/hclge_cmd.o
(gcc version 10.3.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions