|
@@ -5,6 +5,45 @@
|
|
|
|
|
|
menu "Init Utilities"
|
|
|
|
|
|
+config BUSYBOX_BOOTCHARTD
|
|
|
+ bool "bootchartd"
|
|
|
+ default n
|
|
|
+ help
|
|
|
+ bootchartd is commonly used to profile the boot process
|
|
|
+ for the purpose of speeding it up. In this case, it is started
|
|
|
+ by the kernel as the init process. This is configured by adding
|
|
|
+ the init=/sbin/bootchartd option to the kernel command line.
|
|
|
+
|
|
|
+ It can also be used to monitor the resource usage of a specific
|
|
|
+ application or the running system in general. In this case,
|
|
|
+ bootchartd is started interactively by running bootchartd start
|
|
|
+ and stopped using bootchartd stop.
|
|
|
+
|
|
|
+config BUSYBOX_FEATURE_BOOTCHARTD_BLOATED_HEADER
|
|
|
+ bool "bootchartd"
|
|
|
+ default y
|
|
|
+ depends on BOOTCHARTD
|
|
|
+ help
|
|
|
+ Create extended header file compatible with "big" bootchartd.
|
|
|
+ "Big" bootchartd is a shell script and it dumps some
|
|
|
+ "convenient" info int the header, such as:
|
|
|
+ title = Boot chart for `hostname` (`date`)
|
|
|
+ system.uname = `uname -srvm`
|
|
|
+ system.release = `cat /etc/DISTRO-release`
|
|
|
+ system.cpu = `grep '^model name' /proc/cpuinfo | head -1` ($cpucount)
|
|
|
+ system.kernel.options = `cat /proc/cmdline`
|
|
|
+ This data is not mandatory for bootchart graph generation,
|
|
|
+ and is considered bloat. Nevertheless, this option
|
|
|
+ makes bootchartd applet to dump a subset of it.
|
|
|
+
|
|
|
+config BUSYBOX_FEATURE_BOOTCHARTD_CONFIG_FILE
|
|
|
+ bool "bootchartd"
|
|
|
+ default y
|
|
|
+ depends on BOOTCHARTD
|
|
|
+ help
|
|
|
+ Enable reading and parsing of $PWD/bootchartd.conf
|
|
|
+ and /etc/bootchartd.conf files.
|
|
|
+
|
|
|
config BUSYBOX_INIT
|
|
|
bool "init"
|
|
|
default y
|