summaryrefslogtreecommitdiffstats
path: root/scripts/pybootchartgui/pybootchartgui.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-09-23 14:04:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-26 10:25:42 +0100
commitf15f38065023f3c375df96ca9773354cd54337ca (patch)
tree43689596b5f96fa34f0b414944215834f1341ad6 /scripts/pybootchartgui/pybootchartgui.py
parent048e56f3b3d8be9213d90f89c9998477129c6e6b (diff)
downloadpoky-f15f38065023f3c375df96ca9773354cd54337ca.tar.gz
oeqa/runtime/parselogs: parse the logs with Python, not grep
Instead of constructing huge grep statements, we can simply open the logs in Python and do the relevant string operations directly. The trick is to remember to casefold() all of the strings, so that the "in" operator can be used. Just one of the ignores needs to be adjusted because it uses a regular expression and the new logic doesn't support that. This is handled by simply reducing the size of the ignore match. (From OE-Core rev: 78ae254c4a78a025a712281ce9de373cdccf5472) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui.py')
0 files changed, 0 insertions, 0 deletions