[PATCH] iostat: another code shrink ~0.5

Maksym Kryzhanovskyy xmaks at email.cz
Sun May 22 06:36:33 UTC 2011


Hi Denis,

attached is a patch for the iostat applet, please review and consider usage.

function                                             old     new   delta
.rodata                                           148274  148243     -31
is_partition                                          44       -     -44
iostat_main                                         2064    1928    -136
print_stats_dev_struct                               272       -    -272
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 0/2 up/down: 0/-483)           Total: -483 bytes
   text	   data	    bss	    dec	    hex	filename
 928580	   4122	   9552	 942254	  e60ae	busybox_old
 928001	   4122	   9552	 941675	  e5e6b	busybox_unstripped



Max
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox.iostat.patch
Type: text/x-patch
Size: 7971 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110522/0ffbe8e8/attachment.bin>


More information about the busybox mailing list