aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-10-20 17:50:29 +0100
committerJakub Kicinski <[email protected]>2020-10-20 20:57:57 -0700
commitd978d6d008fa7a90a435ba7f101dfcbcc1c816a9 (patch)
tree40556d099582b0dea509f6c0239222331ed8a4e9 /tools/perf/util/scripting-engines/trace-event-python.c
parent010b430d5df556d5d232e3751ac691ba9e88c041 (diff)
net: dsa: bcm_sf2: make const array static, makes object smaller
Don't populate the const array rate_table on the stack but instead it static. Makes the object code smaller by 46 bytes. Before: text data bss dec hex filename 29812 3824 192 33828 8424 drivers/net/dsa/bcm_sf2.o After: text data bss dec hex filename 29670 3920 192 33782 83f6 drivers/net/dsa/bcm_sf2.o (gcc version 10.2.0) Signed-off-by: Colin Ian King <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions