poky/scripts/pybootchartgui
Adrian Freihofer a1b494e651 pybootchartgui.py: python 3.12+ regexes
$ ./scripts/pybootchartgui/pybootchartgui.py
./scripts/pybootchartgui/pybootchartgui/parsing.py:460: SyntaxWarning: invalid escape sequence '\d'
  disk_regex_re = re.compile ('^([hsv]d.|mtdblock\d|mmcblk\d|cciss/c\d+d\d+.*)$')
./scripts/pybootchartgui/pybootchartgui/parsing.py:597: SyntaxWarning: invalid escape sequence '\['
  timestamp_re = re.compile ("^\[\s*(\d+\.\d+)\s*]\s+(.*)$")
./scripts/pybootchartgui/pybootchartgui/parsing.py:598: SyntaxWarning: invalid escape sequence '\S'
  split_re = re.compile ("^(\S+)\s+([\S\+_-]+) (.*)$")
./scripts/pybootchartgui/pybootchartgui/parsing.py:643: SyntaxWarning: invalid escape sequence '\@'
  p = re.match ("\@ (\d+)", rest)
./scripts/pybootchartgui/pybootchartgui/draw.py:799: SyntaxWarning: invalid escape sequence '\s'
  ('system.cpu', 'CPU', lambda s: re.sub('model name\s*:\s*', '', s, 1)),

(From OE-Core rev: 0d94c22dd8d6c5655c2237ae740e8d9bb2adc751)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-22 16:53:06 +01:00
..
pybootchartgui pybootchartgui.py: python 3.12+ regexes 2024-07-22 16:53:06 +01:00
AUTHORS pybootchartgui: Import pybootchartgui 0.14.5 2013-11-18 12:44:06 +00:00
COPYING pybootchartgui: Import pybootchartgui 0.14.5 2013-11-18 12:44:06 +00:00
MAINTAINERS pybootchartgui: Import pybootchartgui 0.14.5 2013-11-18 12:44:06 +00:00
NEWS pybootchartgui: Import pybootchartgui 0.14.5 2013-11-18 12:44:06 +00:00
pybootchartgui.py scripts/pybootchart: Port to python3 2019-05-08 22:56:45 +01:00
README.pybootchart pybootchartgui: Import pybootchartgui 0.14.5 2013-11-18 12:44:06 +00:00

			    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/