diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2012-06-06 13:52:43 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-15 15:12:42 +0100 |
| commit | 3d78bc19c5b63541fd45dad7580ade55ba512764 (patch) | |
| tree | f2d95055e6adfeb1a6b432aa83c28a5fc11f766f /scripts/pybootchartgui/README | |
| parent | bc19f8bc9c7c52365d3e7cc26f43a08a62a8492b (diff) | |
| download | poky-3d78bc19c5b63541fd45dad7580ade55ba512764.tar.gz | |
pybootchartgui: add the original code
This is from:
http://pybootchartgui.googlecode.com/files/pybootchartgui-r124.tar.gz
Will modify it to make the build profiling in pictures.
Remove the examples since they would not work any more, and they cost
much disk space.
[YOCTO #2403]
(From OE-Core rev: 1f0791109e1aed715f02945834d6d7fdb9a411b4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/pybootchartgui/README')
| -rw-r--r-- | scripts/pybootchartgui/README | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/scripts/pybootchartgui/README b/scripts/pybootchartgui/README new file mode 100644 index 0000000000..1b97c442f3 --- /dev/null +++ b/scripts/pybootchartgui/README | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | PYBOOTCHARTGUI | ||
| 2 | ---------------- | ||
| 3 | |||
| 4 | pybootchartgui is a tool for visualization and analysis of the | ||
| 5 | GNU/Linux boot process. It renders the output of the boot-logger tool | ||
| 6 | bootchart (see http://www.bootchart.org/) to either the screen or | ||
| 7 | files of various formats. Bootchart collects information about the | ||
| 8 | processes, their dependencies, and resource consumption during boot of | ||
| 9 | a GNU/Linux system. The pybootchartgui tools visualizes the process | ||
| 10 | tree and overall resource utilization. | ||
| 11 | |||
| 12 | pybootchartgui is a port of the visualization part of bootchart from | ||
| 13 | Java to Python and Cairo. | ||
| 14 | |||
| 15 | Adapted from the bootchart-documentation: | ||
| 16 | |||
| 17 | The CPU and disk statistics are used to render stacked area and line | ||
| 18 | charts. The process information is used to create a Gantt chart | ||
| 19 | showing process dependency, states and CPU usage. | ||
| 20 | |||
| 21 | A typical boot sequence consists of several hundred processes. Since | ||
| 22 | it is difficult to visualize such amount of data in a comprehensible | ||
| 23 | way, tree pruning is utilized. Idle background processes and | ||
| 24 | short-lived processes are removed. Similar processes running in | ||
| 25 | parallel are also merged together. | ||
| 26 | |||
| 27 | Finally, the performance and dependency charts are rendered as a | ||
| 28 | single image to either the screen or in PNG, PDF or SVG format. | ||
| 29 | |||
| 30 | |||
| 31 | To get help for pybootchartgui, run | ||
| 32 | |||
| 33 | $ pybootchartgui --help | ||
| 34 | |||
| 35 | |||
| 36 | http://code.google.com/p/pybootchartgui/ | ||
