diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-04 15:45:25 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-04 15:45:25 +0200 |
commit | ff027d6f50bfa24228e230b84a3297c51d37d000 (patch) | |
tree | 9131e36c21870d52b02c079fe877be8a5c87970c /init/Config.in | |
parent | fe360480aa30adf776a06dc9f09c704abcfa9000 (diff) | |
download | busybox-w32-ff027d6f50bfa24228e230b84a3297c51d37d000.tar.gz busybox-w32-ff027d6f50bfa24228e230b84a3297c51d37d000.tar.bz2 busybox-w32-ff027d6f50bfa24228e230b84a3297c51d37d000.zip |
bootchartd: new applet
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
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'init/Config.in')
-rw-r--r-- | init/Config.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/init/Config.in b/init/Config.in index 3d99d4792..76d509207 100644 --- a/init/Config.in +++ b/init/Config.in | |||
@@ -120,4 +120,18 @@ config MESG | |||
120 | Mesg controls access to your terminal by others. It is typically | 120 | Mesg controls access to your terminal by others. It is typically |
121 | used to allow or disallow other users to write to your terminal | 121 | used to allow or disallow other users to write to your terminal |
122 | 122 | ||
123 | config BOOTCHARTD | ||
124 | bool "bootchartd" | ||
125 | default n | ||
126 | help | ||
127 | bootchartd is commonly used to profile the boot process | ||
128 | for the purpose of speeding it up. In this case, it is started | ||
129 | by the kernel as the init process. This is configured by adding | ||
130 | the init=/sbin/bootchartd option to the kernel command line. | ||
131 | |||
132 | It can also be used to monitor the resource usage of a specific | ||
133 | application or the running system in general. In this case, | ||
134 | bootchartd is started interactively by running bootchartd start | ||
135 | and stopped using bootchartd stop. | ||
136 | |||
123 | endmenu | 137 | endmenu |