Commit 08fbd012 authored by vitalyr@chromium.org's avatar vitalyr@chromium.org

ll_prof: minor fixes to the issues found while running with chromium.

Review URL: http://codereview.chromium.org/4097011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5727 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 19b62bb1
...@@ -353,7 +353,7 @@ class CodeLogReader(object): ...@@ -353,7 +353,7 @@ class CodeLogReader(object):
r"code-info,([^,]+),(\d+)") r"code-info,([^,]+),(\d+)")
_CODE_CREATE_RE = re.compile( _CODE_CREATE_RE = re.compile(
r"code-creation,([^,]+),(0x[a-f0-9]+),(\d+),\"([^\"]*)\"(?:,(\d+))?") r"code-creation,([^,]+),(0x[a-f0-9]+),(\d+),\"(.*)\"(?:,(\d+))?")
_CODE_MOVE_RE = re.compile( _CODE_MOVE_RE = re.compile(
r"code-move,(0x[a-f0-9]+),(0x[a-f0-9]+)") r"code-move,(0x[a-f0-9]+),(0x[a-f0-9]+)")
...@@ -910,7 +910,7 @@ if __name__ == "__main__": ...@@ -910,7 +910,7 @@ if __name__ == "__main__":
start = time.time() start = time.time()
mmap_info = trace_reader.ReadMmap(header, offset) mmap_info = trace_reader.ReadMmap(header, offset)
if mmap_info.filename == V8_GC_FAKE_MMAP: if mmap_info.filename == V8_GC_FAKE_MMAP:
log_reader.ReadUpToGC() log_reader.ReadUpToGC(code_info)
else: else:
library_repo.Load(mmap_info, code_map, options) library_repo.Load(mmap_info, code_map, options)
mmap_time += time.time() - start mmap_time += time.time() - start
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment