Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Issue 874683004: Refactor the symbolize step of the orderfile generation. (Closed)

Created:
5 years, 10 months ago by Benoit L
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor the symbolize step of the orderfile generation. This builds on the previous refactorings (linked in the bug), and unifies the parsing of object files. It also removes the fuzzy matching of offsets done that was previously also done in patch_orderfile.py. It is also faster for three reasons: - Elimination of an O(N^2) search - Parallelization of object file parsing. - No binary search BUG=452879 Committed: https://crrev.com/753ce83612800633fe2081c139df118ef94d7c41 Cr-Commit-Position: refs/heads/master@{#314137}

Patch Set 1 #

Patch Set 2 : Naming and typos. #

Total comments: 17

Patch Set 3 : Address comments. Change filenames. #

Total comments: 32

Patch Set 4 : Whitespace. #

Patch Set 5 : Address comments. #

Patch Set 6 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+348 lines, -0 lines) Patch
A tools/cygprofile/cyglog_to_orderfile.py View 1 2 3 4 5 1 chunk +262 lines, -0 lines 0 comments Download
A tools/cygprofile/cyglog_to_orderfile_unittest.py View 1 2 3 4 1 chunk +86 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
Benoit L
Hello, Here is another refactoring, this time for symbolize.py.
5 years, 10 months ago (2015-01-29 17:30:29 UTC) #2
pasko
yay! please implement proper error handling via exit codes in this script, more details in ...
5 years, 10 months ago (2015-01-30 13:34:48 UTC) #3
Benoit L
https://codereview.chromium.org/874683004/diff/20001/tools/cygprofile/symbolize.py File tools/cygprofile/symbolize.py (right): https://codereview.chromium.org/874683004/diff/20001/tools/cygprofile/symbolize.py#newcode6 tools/cygprofile/symbolize.py:6: """Symbolize log file produced by cypgofile instrumentation. On 2015/01/30 ...
5 years, 10 months ago (2015-01-30 16:22:38 UTC) #4
Benoit L
On 2015/01/30 16:22:38, lizeb wrote: > https://codereview.chromium.org/874683004/diff/20001/tools/cygprofile/symbolize.py > File tools/cygprofile/symbolize.py (right): > > https://codereview.chromium.org/874683004/diff/20001/tools/cygprofile/symbolize.py#newcode6 > ...
5 years, 10 months ago (2015-01-30 17:12:58 UTC) #5
pasko
https://codereview.chromium.org/874683004/diff/20001/tools/cygprofile/symbolize.py File tools/cygprofile/symbolize.py (right): https://codereview.chromium.org/874683004/diff/20001/tools/cygprofile/symbolize.py#newcode238 tools/cygprofile/symbolize.py:238: _WarnAboutDuplicates(offsets) On 2015/01/30 16:22:38, lizeb wrote: > On 2015/01/30 ...
5 years, 10 months ago (2015-01-30 19:31:33 UTC) #6
Benoit L
https://codereview.chromium.org/874683004/diff/40001/tools/cygprofile/cyglog_to_orderfile.py File tools/cygprofile/cyglog_to_orderfile.py (right): https://codereview.chromium.org/874683004/diff/40001/tools/cygprofile/cyglog_to_orderfile.py#newcode23 tools/cygprofile/cyglog_to_orderfile.py:23: """Parse a merge cyglog produced by mergetraces.py. On 2015/01/30 ...
5 years, 10 months ago (2015-02-02 09:28:15 UTC) #7
pasko-google - do not use
OK, almost there, just a couple more questions https://codereview.chromium.org/874683004/diff/40001/tools/cygprofile/cyglog_to_orderfile.py File tools/cygprofile/cyglog_to_orderfile.py (right): https://codereview.chromium.org/874683004/diff/40001/tools/cygprofile/cyglog_to_orderfile.py#newcode51 tools/cygprofile/cyglog_to_orderfile.py:51: call_lines.append(fields) ...
5 years, 10 months ago (2015-02-02 10:35:49 UTC) #9
chromium-reviews
On Mon, Feb 2, 2015 at 11:35 AM, <pasko@google.com> wrote: > OK, almost there, just ...
5 years, 10 months ago (2015-02-02 12:43:32 UTC) #10
pasko
lgtm, thank you!
5 years, 10 months ago (2015-02-02 13:00:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874683004/100001
5 years, 10 months ago (2015-02-02 13:06:44 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-02 13:43:41 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-02 13:44:34 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/753ce83612800633fe2081c139df118ef94d7c41
Cr-Commit-Position: refs/heads/master@{#314137}

Powered by Google App Engine
This is Rietveld 408576698