diff options
author | Denys Vlasenko <[email protected]> | 2015-05-18 12:58:40 +0200 |
---|---|---|
committer | Brian Norris <[email protected]> | 2015-05-27 12:42:16 -0700 |
commit | 4612c715a6ea6b3af2aee0163c0721375b2548d7 (patch) | |
tree | 6ec1f9324fa54c41a0a93c5e607e4a0139fd13f5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | c3c263a8a38c277e8867bfc7731ec95846a23b11 (diff) |
mtd: cfi: deinline large functions
With this .config: http://busybox.net/~vda/kernel_config,
after uninlining these functions have sizes and callsite counts
as follows:
cfi_udelay(): 74 bytes, 26 callsites
cfi_send_gen_cmd(): 153 bytes, 95 callsites
cfi_build_cmd(): 274 bytes, 123 callsites
cfi_build_cmd_addr(): 49 bytes, 15 callsites
cfi_merge_status(): 230 bytes, 3 callsites
Reduction in code size is about 50,000:
text data bss dec hex filename
85842882 22294584 20627456 128764922 7accbfa vmlinux.before
85789648 22294616 20627456 128711720 7abfc28 vmlinux
Signed-off-by: Denys Vlasenko <[email protected]>
CC: Dan Carpenter <[email protected]>
CC: Jingoo Han <[email protected]>
CC: Brian Norris <[email protected]>
CC: Aaron Sierra <[email protected]>
CC: Artem Bityutskiy <[email protected]>
CC: David Woodhouse <[email protected]>
CC: [email protected]
CC: [email protected]
Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions