[PATCH] pstree: New applet, v5

Eric Lammerts busybox at lists.lammerts.org
Thu Dec 2 16:38:59 UTC 2010


On Thu, 2 Dec 2010, Hans Ulli Kroll wrote:
> I think this is even simpler.
>
> Hint :
> make baseline
> make bloatcheck

function                                             old     new   delta
dump_tree                                              -     691    +691
read_proc                                              -     526    +526
pstree_main                                            -     244    +244
add_proc                                               -     207    +207
.rodata                                            37772   37951    +179
out_char                                               -     141    +141
tree_equal                                             -      94     +94
dump_by_user                                           -      93     +93
out_int                                                -      92     +92
new_proc                                               -      58     +58
out_newline                                            -      53     +53
packed_usage                                        6660    6698     +38
xstat                                                  -      29     +29
find_proc                                              -      26     +26
static.C                                               -      24     +24
out_string                                             -      22     +22
applet_names                                         458     465      +7
applet_main                                          240     244      +4
applet_nameofs                                       120     122      +2
------------------------------------------------------------------------------
(add/remove: 15/0 grow/shrink: 5/0 up/down: 2530/0)          Total: 2530 bytes
    text             data     bss     dec     hex filename
  165595             1002    8428  175025   2abb1 busybox_old
  168050             1002    8428  177480   2b548 busybox_unstripped

Eric



More information about the busybox mailing list