diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-10 00:54:27 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-10 00:54:27 +0000 |
commit | d4fea900bdb92d7bba71348a40cb00b6748a8ecc (patch) | |
tree | 9f09ec44b1c7ee387e5bab1c499361ae7bc08573 /Makefile.custom | |
parent | 77e44d60e698c2164f610072e9f7e2bacefdd589 (diff) | |
download | busybox-w32-d4fea900bdb92d7bba71348a40cb00b6748a8ecc.tar.gz busybox-w32-d4fea900bdb92d7bba71348a40cb00b6748a8ecc.tar.bz2 busybox-w32-d4fea900bdb92d7bba71348a40cb00b6748a8ecc.zip |
add script which measures stack consumption.
Current top users:
0x08052f52 uncompress []: 393312
0x080c8a58 input_tab []: 82104
0x08092d5b ifaddrlist []: 32828
0x08056163 loadfont_main []: 32796
0x0806e508 colon []: 16532
0x08056095 do_loadfont []: 16400
0x0806da70 place_cursor []: 16388
0x080792e8 login_main []: 9176
393 kb of stack??? OMG...
Diffstat (limited to 'Makefile.custom')
-rw-r--r-- | Makefile.custom | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.custom b/Makefile.custom index d0aff3799..cf3d14321 100644 --- a/Makefile.custom +++ b/Makefile.custom | |||
@@ -79,9 +79,13 @@ baseline: busybox_unstripped | |||
79 | objsizes: busybox_unstripped | 79 | objsizes: busybox_unstripped |
80 | $(srctree)/scripts/objsizes | 80 | $(srctree)/scripts/objsizes |
81 | 81 | ||
82 | .PHONY: stksizes | ||
83 | stksizes: busybox_unstripped | ||
84 | $(CROSS_COMPILE)objdump -d busybox_unstripped | $(srctree)/scripts/checkstack.pl $(ARCH) | ||
85 | |||
82 | .PHONY: bigdata | 86 | .PHONY: bigdata |
83 | bigdata: busybox_unstripped | 87 | bigdata: busybox_unstripped |
84 | nm --size-sort busybox_unstripped | grep -vi ' [tr] ' | tail -20 | 88 | $(CROSS_COMPILE)nm --size-sort busybox_unstripped | grep -vi ' [tr] ' |
85 | 89 | ||
86 | # Documentation Targets | 90 | # Documentation Targets |
87 | .PHONY: doc | 91 | .PHONY: doc |