Chromium Code Reviews| Index: tools/cygprofile/patch_orderfile.py |
| diff --git a/tools/cygprofile/patch_orderfile.py b/tools/cygprofile/patch_orderfile.py |
| index 65c6d8fb177a99176313027b3c3abfdd1d783249..ddba312c3d46ace55b4c72b00b90bd36e92fa74e 100755 |
| --- a/tools/cygprofile/patch_orderfile.py |
| +++ b/tools/cygprofile/patch_orderfile.py |
| @@ -63,7 +63,7 @@ def binary_search (search_addr, start, end): |
| f = open (orderfile) |
| lines = f.readlines() |
| profiled_list = [] |
| -prefixes = ['.text.', '.text.startup.', '.text.hot.', '.text.unlikely.'] |
| +prefixes = ['.text.startup.', '.text.hot.', '.text.unlikely.', '.text.'] |
| for line in lines: |
| for prefix in prefixes: |
| line = line.replace(prefix, '') |
| @@ -100,7 +100,7 @@ for function in profiled_list: |
| symbols_found = symbols_found + 1 |
| except Exception: |
| addrs = [] |
| - # sys.stderr.write ("WARNING: could not find symbol " + function + "\n") |
| + sys.stderr.write ("WARNING: could not find symbol " + function + "\n") |
|
azarchs
2015/01/19 18:13:21
From my local run I'd expect roughly 140k warnings
|
| for addr in addrs: |
| if not (addr in addresses): |
| addresses.append(addr) |