[PATCH] iostat, fuser: code shrink (~-250 bytes together)

Maksym Kryzhanovskyy xmaks at email.cz
Sun Apr 10 20:41:32 UTC 2011


Hi Denis,

the first patch is from the previous message. The second is for the fuser applet. Please review and consider usage.

Max


------------------------------------------------------------------------------
function                                             old     new   delta
scan_recursive                                         -     591    +591
.rodata                                           146746  146829     +83
search_dev_inode                                      56      53      -3
add_pid                                               51       -     -51
scan_link                                             52       -     -52
scan_dir_links                                       106       -    -106
iostat_main                                         2519    2329    -190
scan_pid_maps                                        230       -    -230
fuser_main                                           907     614    -293
------------------------------------------------------------------------------
(add/remove: 1/4 grow/shrink: 1/3 up/down: 674/-925)         Total: -251 bytes
   text	   data	    bss	    dec	    hex	filename
 923380	   4122	   9568	 937070	  e4c6e	busybox_old
 923001	   4122	   9568	 936691	  e4af3	busybox_unstripped
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox.iostat.patch
Type: text/x-patch
Size: 4960 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110410/9971d5ed/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox.fuser.patch
Type: text/x-patch
Size: 8271 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110410/9971d5ed/attachment-0001.bin>


More information about the busybox mailing list