Bootchart2

Use bootchart2 to profile system boot or a running system.

Configure bootchart2

 * 1) Add the bootchart2 package to your device.
 * 2) Add the following kernel command line parameters:

Profile system boot

 * 1) add the following kernel command line parameter:.
 * 2) (optional) modify EXIT_PROC in /etc/bootchartd.conf to define when the collector is to stop.
 * 3) Boot the system.
 * 4) * mkinitfs will start.
 * 5) *  will run.
 * 6) * Approximately 20 seconds after sshd starts (if using the default value of EXIT_PROC), the collector will exit.
 * 7) *  will create a visualization in.

Profile a running system

 * 1) Use the command   (as root) to start profiling
 * 2) Execute the commands or perform the activity that you want to profile.
 * 3) Use the command   (as root) to stop profiling
 * 4) *  will create a visualization in.

Example (QEMU)
This example demonstrates how to use bootchart2 with device-qemu-amd64.
 * 1) Run  . At the   prompt, enter.
 * 2) Run.
 * 3) Start qemu. Use the kernel command line parameters from the deviceinfo file, and add the bootchart2 parameters. For example:
 * 4) Wait until bootchart2 has written the image to.
 * [[File:Qemu_bootchart2_example_boot.png]]
 * 1) Copy the file to your host system.
 * Qemu_bootchart2_example.png
 * 1) Run.
 * 2) Start qemu. Use the kernel command line parameters from the deviceinfo file, and add the bootchart2 parameters. For example:
 * 3) Wait until bootchart2 has written the image to.
 * [[File:Qemu_bootchart2_example_boot.png]]
 * 1) Copy the file to your host system.
 * Qemu_bootchart2_example.png
 * 1) Run.
 * 2) Start qemu. Use the kernel command line parameters from the deviceinfo file, and add the bootchart2 parameters. For example:
 * 3) Wait until bootchart2 has written the image to.
 * [[File:Qemu_bootchart2_example_boot.png]]
 * 1) Copy the file to your host system.
 * Qemu_bootchart2_example.png
 * [[File:Qemu_bootchart2_example_boot.png]]
 * 1) Copy the file to your host system.
 * Qemu_bootchart2_example.png