From c14b612ba17e7c92a4f663e126465d5916061b0c Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Mon, 30 Nov 2015 16:29:57 -0800 Subject: [PATCH] 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 --- scripts/stack_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/stack_core.py b/scripts/stack_core.py index 963f7d5c1..8da01096b 100755 --- a/scripts/stack_core.py +++ b/scripts/stack_core.py @@ -91,7 +91,7 @@ class TraceConverter: "[ \t]+..[ \t]+" # (space)pc(space). "(?P[0-9a-f]" + self.width + ")[ \t]+" # Offset (hex number given without # 0x prefix). - "(?P[^\r\n \t]*)" # Library name. + "(?P\[[^\]]+\]|[^\r\n \t]*)" # Library name. "( \(offset (?P0x[0-9a-fA-F]+)\))?" # Offset into the file to find the start of the shared so. "(?P \((?P.*)\))?") # Is the symbol there? # pylint: disable-msg=C6310