aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-08-19 13:04:43 +0100
committerDavid S. Miller <[email protected]>2021-08-19 13:23:20 +0100
commit5c8a2bb481591fc4dbbdb7f79b70d0a36150dd13 (patch)
tree04f0a7015f2af8fb6ea1c5249d2d37f89d4ddea9 /tools/perf/scripts/python
parent0bc277cb8234f8e6fcf8842e318e0873dd223565 (diff)
net: ethernet: ti: cpsw: make array stpa static const, makes object smaller
Don't populate the array stpa on the stack but instead it static const. Makes the object code smaller by 81 bytes: Before: text data bss dec hex filename 54993 17248 0 72241 11a31 ./drivers/net/ethernet/ti/cpsw_new.o After: text data bss dec hex filename 54784 17376 0 72160 119e0 ./drivers/net/ethernet/ti/cpsw_new.o (gcc version 10.3.0) Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions