[PATCH] bootchartd applet

Denys Vlasenko vda.linux at googlemail.com
Tue May 4 13:41:00 UTC 2010


Usage: bootchartd start [PROG ARGS]|init|stop

Create /var/log/bootchart.tgz with boot chart data

Options:
start: start background logging; with PROG, run PROG, then kill
logging with USR1
stop: send USR1 to all bootchartd processes
init: start background logging; stop when getty/gdm is seen (for init scripts)
Under PID 1: as init, then exec $bootchart_init, /init, /sbin/init

function                                             old     new   delta
bootchartd_main                                        -     907    +907
dump_procs                                             -     353    +353
packed_usage                                       26566   26735    +169
dump_file                                              -      91     +91
static.dirs                                            -      23     +23
applet_names                                        2176    2187     +11
applet_main                                         1284    1288      +4
applet_nameofs                                       642     644      +2
------------------------------------------------------------------------------
(add/remove: 5/0 grow/shrink: 4/0 up/down: 1560/0)           Total: 1560 bytes

-- 
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6.patch
Type: application/octet-stream
Size: 14350 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100504/03a5e2ad/attachment.obj>


More information about the busybox mailing list