diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-08-19 13:50:18 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-08-29 11:32:01 +0300 |
commit | f4c813641897cfb43b3b99edd8c8851a1c98c70f (patch) | |
tree | af17ff2ae60ddddc92f8b85a2bd8bbd2b4471438 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 533ccdae76faa6fd8e0857ec494b264a5d87a191 (diff) |
rsi: make array fsm_state static const, makes object smaller
Don't populate the array fsm_state on the stack but instead it
static const. Makes the object code smaller by 154 bytes:
Before:
text data bss dec hex filename
9213 3904 0 13117 333d .../wireless/rsi/rsi_91x_debugfs.o
After:
text data bss dec hex filename
8995 3968 0 12963 32a3 .../wireless/rsi/rsi_91x_debugfs.o
(gcc version 10.3.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210819125018.8577-1-colin.king@canonical.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions