ps: conditionally support additional -o FIELDs
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 3 Jul 2009 20:16:17 +0000 (22:16 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 3 Jul 2009 20:16:17 +0000 (22:16 +0200)
commitfca70a8cce579ce8cc8caf246c22f0c6e6c6e139
tree2c17970b64b12c34624a18cf42b2c39a2cb5329d
parentc5d07fba29a477569a96777c9cab73e53b1ddd5c
ps: conditionally support additional -o FIELDs

function                                             old     new   delta
procps_scan                                         1409    1642    +233
out_spec                                             220     300     +80
func_ruser                                             -      36     +36
func_rgroup                                            -      36     +36
func_group                                            13      49     +36
func_nice                                              -      29     +29
buffer_fill_and_print                                179     196     +17
send_tree                                            355     360      +5
mkfs_vfat_main                                      1604    1609      +5
display_speed                                         85      90      +5
scriptreplay_main                                    194     197      +3
find_out_spec                                         55      58      +3
changepath                                           192     195      +3
sha1_process_block64                                 497     484     -13
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 10/1 up/down: 491/-13)          Total: 478 bytes

Signed-off-by: David Krakov <krakov@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
libbb/procps.c
procps/Config.in
procps/ps.c
procps/top.c