Skip to content

Commit

Permalink
don't get confused by "[drm] init ..." type lines, when parsing
Browse files Browse the repository at this point in the history
dmesg output for the kernel boot pieces. With thanks to Pat Lashley
for the sample
  • Loading branch information
Michael Meeks committed Jan 20, 2010
1 parent 8359415 commit cb7d433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybootchartgui/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def is_relevant_line(linetokens):
# [ 0.039993] calling migration_init+0x0/0x6b @ 1
# [ 0.039993] initcall migration_init+0x0/0x6b returned 1 after 0 usecs
def _parse_dmesg(writer, file):
timestamp_re = re.compile ("^\[\S*([^\]]*)\S*]\s+(.*)$")
timestamp_re = re.compile ("^\[\s*(\d+\.\d+)\s*]\s+(.*)$")
split_re = re.compile ("^(\S+)\s+([\S\+_-]+) (.*)$")
processMap = {}
idx = 0
Expand Down

0 comments on commit cb7d433

Please sign in to comment.