Package: bootchart2 / 0.14.4-3

Metadata

Package Version Patches format
bootchart2 0.14.4-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
00 fix_python_sitedir.patch | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 dh_python2 expects modules to be in dist-packages
0001 pybootchartgui fix parsing of non ascii bytes in log.patch | (download)

pybootchartgui/parsing.py | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 [patch] pybootchartgui: fix parsing of non-ascii bytes in logs

It looks like the days of ascii logs is gone so decode all the
files we read as utf-8. Fix #38.

0002 pybootchartgui skip malformed taskstats lines.patch | (download)

pybootchartgui/parsing.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 [patch] pybootchartgui: skip malformed taskstats lines

Partially fix #39

0003 pybootchartgui ensure a MemSample is valid before st.patch | (download)

pybootchartgui/parsing.py | 6 3 + 3 - 0 !
pybootchartgui/samples.py | 10 9 + 1 - 0 !
2 files changed, 12 insertions(+), 4 deletions(-)

 [patch] pybootchartgui: ensure a memsample is valid before storing
 it

Fix #39

0004 pybootchartgui be more tolerant when parsing proc_me.patch | (download)

pybootchartgui/parsing.py | 7 2 + 5 - 0 !
1 file changed, 2 insertions(+), 5 deletions(-)

 [patch] pybootchartgui: be more tolerant when parsing
 proc_meminfo.log

waasdorp reports in bug #40 that we are raising an exception if
a line in proc_meminfo.log is not well formed.
He is right because we were trying to access matches of a regexp
that did not match.

That is obviously silly but it is also silly to stop processing
all the data if a line is wrong, even a line that we are not
interested in it. Instead ignore the line and skip the sample
if it is not valid.

Example of broken line:

Shmem:

While at it remove an unused variable