Modify the dso rule to allow spaces in [] names.
Some of the map names have spaces in them, but only the ones that look like: [anon:atexit handlers] So allow spaces between a [ and a ]. Change-Id: I09f1b50533fcd2e79acda199dcc3fb99c6d8428f
This commit is contained in:
@@ -91,7 +91,7 @@ class TraceConverter:
|
|||||||
"[ \t]+..[ \t]+" # (space)pc(space).
|
"[ \t]+..[ \t]+" # (space)pc(space).
|
||||||
"(?P<offset>[0-9a-f]" + self.width + ")[ \t]+" # Offset (hex number given without
|
"(?P<offset>[0-9a-f]" + self.width + ")[ \t]+" # Offset (hex number given without
|
||||||
# 0x prefix).
|
# 0x prefix).
|
||||||
"(?P<dso>[^\r\n \t]*)" # Library name.
|
"(?P<dso>\[[^\]]+\]|[^\r\n \t]*)" # Library name.
|
||||||
"( \(offset (?P<so_offset>0x[0-9a-fA-F]+)\))?" # Offset into the file to find the start of the shared so.
|
"( \(offset (?P<so_offset>0x[0-9a-fA-F]+)\))?" # Offset into the file to find the start of the shared so.
|
||||||
"(?P<symbolpresent> \((?P<symbol>.*)\))?") # Is the symbol there?
|
"(?P<symbolpresent> \((?P<symbol>.*)\))?") # Is the symbol there?
|
||||||
# pylint: disable-msg=C6310
|
# pylint: disable-msg=C6310
|
||||||
|
|||||||
Reference in New Issue
Block a user