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>
This commit is contained in:
@@ -83,6 +83,7 @@ IF_BBCONFIG(APPLET(bbconfig, _BB_DIR_BIN, _BB_SUID_DROP))
|
||||
//IF_BBSH(APPLET(bbsh, _BB_DIR_BIN, _BB_SUID_DROP))
|
||||
IF_BEEP(APPLET(beep, _BB_DIR_USR_BIN, _BB_SUID_DROP))
|
||||
IF_BLKID(APPLET(blkid, _BB_DIR_SBIN, _BB_SUID_DROP))
|
||||
IF_BOOTCHARTD(APPLET(bootchartd, _BB_DIR_SBIN, _BB_SUID_DROP))
|
||||
IF_BRCTL(APPLET(brctl, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
|
||||
IF_BUNZIP2(APPLET(bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP))
|
||||
IF_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP, bzcat))
|
||||
|
@@ -154,18 +154,15 @@
|
||||
"\n -r Repetitions" \
|
||||
"\n -n Start new tone" \
|
||||
|
||||
#define fbsplash_trivial_usage \
|
||||
"-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]"
|
||||
#define fbsplash_full_usage "\n\n" \
|
||||
"Options:" \
|
||||
"\n -s Image" \
|
||||
"\n -c Hide cursor" \
|
||||
"\n -d Framebuffer device (default /dev/fb0)" \
|
||||
"\n -i Config file (var=value):" \
|
||||
"\n BAR_LEFT,BAR_TOP,BAR_WIDTH,BAR_HEIGHT" \
|
||||
"\n BAR_R,BAR_G,BAR_B" \
|
||||
"\n -f Control pipe (else exit after drawing image)" \
|
||||
"\n commands: 'NN' (% for progress bar) or 'exit'" \
|
||||
#define bootchartd_trivial_usage \
|
||||
"start [PROG ARGS]|stop|init"
|
||||
#define bootchartd_full_usage "\n\n" \
|
||||
"Create /var/log/bootchart.tgz with boot chart data\n" \
|
||||
"\nOptions:" \
|
||||
"\nstart: start background logging; with PROG, run PROG, then kill logging with USR1" \
|
||||
"\nstop: send USR1 to all bootchartd processes" \
|
||||
"\ninit: start background logging; stop when getty/xdm is seen (for init scripts)" \
|
||||
"\nUnder PID 1: as init, then exec $bootchart_init, /init, /sbin/init" \
|
||||
|
||||
#define brctl_trivial_usage \
|
||||
"COMMAND [BRIDGE [INTERFACE]]"
|
||||
@@ -1174,6 +1171,19 @@
|
||||
"$ echo $?\n" \
|
||||
"1\n"
|
||||
|
||||
#define fbsplash_trivial_usage \
|
||||
"-s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]"
|
||||
#define fbsplash_full_usage "\n\n" \
|
||||
"Options:" \
|
||||
"\n -s Image" \
|
||||
"\n -c Hide cursor" \
|
||||
"\n -d Framebuffer device (default /dev/fb0)" \
|
||||
"\n -i Config file (var=value):" \
|
||||
"\n BAR_LEFT,BAR_TOP,BAR_WIDTH,BAR_HEIGHT" \
|
||||
"\n BAR_R,BAR_G,BAR_B" \
|
||||
"\n -f Control pipe (else exit after drawing image)" \
|
||||
"\n commands: 'NN' (% for progress bar) or 'exit'" \
|
||||
|
||||
#define fbset_trivial_usage \
|
||||
"[OPTIONS] [MODE]"
|
||||
#define fbset_full_usage "\n\n" \
|
||||
|
Reference in New Issue
Block a user