mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
To support yocto on systems with python3 as default version, scripts
should use /usr/bin/env python in the shebang, as this allows the use of
a fake env to mimic python2 as default version.
This patch simply replaces occurrences of #!/usr/bin/python with
#!/usr/bin/env python and was done with this oneliner:
git grep -lE '^#!/usr/bin/python' | xargs \
sed -i 's|/usr/bin/python|/usr/bin/env python|'
(From OE-Core rev: 6d3de22a19657a413e01d7bb5fd74d16c00dc696)
Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||
|---|---|---|
| .. | ||
| pybootchartgui | ||
| AUTHORS | ||
| COPYING | ||
| MAINTAINERS | ||
| NEWS | ||
| pybootchartgui.py | ||
| README.pybootchart | ||
PYBOOTCHARTGUI ---------------- pybootchartgui is a tool (now included as part of bootchart2) 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 This code was originally hosted at: http://code.google.com/p/pybootchartgui/