poky/scripts/pybootchartgui
Robert Yang 0ad3f75432 pybootchartgui: split the output chart into multiple ones
Split the output chart into multiple ones to make it more readable, it
only works with "-o path", which means that it doesn't work if the user
doesn't want to save the chart to the disk. For example:

$ ./pybootchartgui.py /path/to/tmp/buildstats/core-image-sato-qemux86/201205301810/ -f svg -s 5 -o /tmp/
bootchart written to /tmp/bootchart_1.svg
bootchart written to /tmp/bootchart_2.svg
bootchart written to /tmp/bootchart_3.svg
bootchart written to /tmp/bootchart_4.svg
bootchart written to /tmp/bootchart_5.svg

[YOCTO #2403]

(From OE-Core rev: 04a34899e1c15a70babd97a3a59ccb9f8af05bad)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-15 15:12:42 +01:00
..
pybootchartgui pybootchartgui: split the output chart into multiple ones 2012-06-15 15:12:42 +01:00
AUTHORS pybootchartgui: add the original code 2012-06-15 15:12:42 +01:00
COPYING pybootchartgui: add the original code 2012-06-15 15:12:42 +01:00
pybootchartgui.py pybootchartgui: add the original code 2012-06-15 15:12:42 +01:00
README pybootchartgui: add the original code 2012-06-15 15:12:42 +01:00

		    PYBOOTCHARTGUI
		   ----------------

pybootchartgui is a tool for visualization and analysis of the GNU/Linux boot process. It renders the output of the boot-logger tool bootchart (see http://www.bootchart.org/) to either the screen or files of various formats. Bootchart collects information about the processes, their dependencies, and resource consumption during boot of a GNU/Linux system. The pybootchartgui tools visualizes the process tree and overall resource utilization.

pybootchartgui is a port of the visualization part of bootchart from Java to Python and Cairo.

Adapted from the bootchart-documentation:

The CPU and disk statistics are used to render stacked area and line charts. The process information is used to create a Gantt chart showing process dependency, states and CPU usage.

A typical boot sequence consists of several hundred processes. Since it is difficult to visualize such amount of data in a comprehensible way, tree pruning is utilized. Idle background processes and short-lived processes are removed. Similar processes running in parallel are also merged together.

Finally, the performance and dependency charts are rendered as a single image to either the screen or in PNG, PDF or SVG format.

To get help for pybootchartgui, run

$ pybootchartgui --help

http://code.google.com/p/pybootchartgui/