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

Issue 886563002: Switch from nm to objdump for the cygprofile tools. (Closed)

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

Description

Switch from nm to objdump for the cygprofile tools. This is required for further refactoring (use in symbolize.py), as nm doesn't provide the section name. Also, some functions in symbol_extractor.py are not used yet, they will in the next CLs of the refactoring. BUG=452879 Committed: https://crrev.com/737b1473709df32f82adc8bb6654927aad25b7d9 Cr-Commit-Position: refs/heads/master@{#313715}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address comments. #

Total comments: 13

Patch Set 3 : Address comments. #

Total comments: 2

Patch Set 4 : Address comments. #

Total comments: 6

Patch Set 5 : Address comments. #

Patch Set 6 : Typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -78 lines) Patch
M tools/cygprofile/patch_orderfile.py View 2 1 chunk +2 lines, -1 line 0 comments Download
M tools/cygprofile/patch_orderfile_unittest.py View 1 2 3 chunks +14 lines, -7 lines 0 comments Download
M tools/cygprofile/symbol_extractor.py View 1 2 3 2 chunks +32 lines, -32 lines 0 comments Download
M tools/cygprofile/symbol_extractor_unittest.py View 1 2 3 4 5 3 chunks +48 lines, -38 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Benoit L
5 years, 10 months ago (2015-01-28 17:43:32 UTC) #2
pasko
https://codereview.chromium.org/886563002/diff/1/tools/cygprofile/patch_orderfile_unittest.py File tools/cygprofile/patch_orderfile_unittest.py (right): https://codereview.chromium.org/886563002/diff/1/tools/cygprofile/patch_orderfile_unittest.py#newcode25 tools/cygprofile/patch_orderfile_unittest.py:25: section='.text')] nit: some more whitespace here and below https://codereview.chromium.org/886563002/diff/1/tools/cygprofile/symbol_extractor.py ...
5 years, 10 months ago (2015-01-28 18:55:37 UTC) #3
Benoit L
https://codereview.chromium.org/886563002/diff/1/tools/cygprofile/patch_orderfile_unittest.py File tools/cygprofile/patch_orderfile_unittest.py (right): https://codereview.chromium.org/886563002/diff/1/tools/cygprofile/patch_orderfile_unittest.py#newcode25 tools/cygprofile/patch_orderfile_unittest.py:25: section='.text')] On 2015/01/28 18:55:37, pasko wrote: > nit: some ...
5 years, 10 months ago (2015-01-29 10:02:01 UTC) #4
pasko
OK, overall the change will help us iterate faster, thank you https://codereview.chromium.org/886563002/diff/1/tools/cygprofile/symbol_extractor.py File tools/cygprofile/symbol_extractor.py (right): ...
5 years, 10 months ago (2015-01-29 12:24:43 UTC) #5
Benoit L
Thank you for the review. All done. https://codereview.chromium.org/886563002/diff/20001/tools/cygprofile/symbol_extractor.py File tools/cygprofile/symbol_extractor.py (right): https://codereview.chromium.org/886563002/diff/20001/tools/cygprofile/symbol_extractor.py#newcode15 tools/cygprofile/symbol_extractor.py:15: 0, os.path.join(sys.path[0], ...
5 years, 10 months ago (2015-01-29 13:10:30 UTC) #6
pasko
not really "all" was done. Please don't forget to update the issue description. https://codereview.chromium.org/886563002/diff/20001/tools/cygprofile/symbol_extractor.py File ...
5 years, 10 months ago (2015-01-29 13:25:31 UTC) #7
Benoit L
https://codereview.chromium.org/886563002/diff/40001/tools/cygprofile/symbol_extractor.py File tools/cygprofile/symbol_extractor.py (right): https://codereview.chromium.org/886563002/diff/40001/tools/cygprofile/symbol_extractor.py#newcode45 tools/cygprofile/symbol_extractor.py:45: offset = int(parts[0], 16) On 2015/01/29 13:25:30, pasko wrote: ...
5 years, 10 months ago (2015-01-29 14:50:22 UTC) #8
pasko
lgtm with a few changes in tests https://codereview.chromium.org/886563002/diff/60001/tools/cygprofile/symbol_extractor_unittest.py File tools/cygprofile/symbol_extractor_unittest.py (right): https://codereview.chromium.org/886563002/diff/60001/tools/cygprofile/symbol_extractor_unittest.py#newcode25 tools/cygprofile/symbol_extractor_unittest.py:25: # This ...
5 years, 10 months ago (2015-01-29 15:22:11 UTC) #9
Benoit L
Thank you ! https://codereview.chromium.org/886563002/diff/60001/tools/cygprofile/symbol_extractor_unittest.py File tools/cygprofile/symbol_extractor_unittest.py (right): https://codereview.chromium.org/886563002/diff/60001/tools/cygprofile/symbol_extractor_unittest.py#newcode25 tools/cygprofile/symbol_extractor_unittest.py:25: # This line has an invalid ...
5 years, 10 months ago (2015-01-29 15:26:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886563002/100001
5 years, 10 months ago (2015-01-29 15:27:56 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-01-29 16:04:18 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 16:05:14 UTC) #14
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/737b1473709df32f82adc8bb6654927aad25b7d9
Cr-Commit-Position: refs/heads/master@{#313715}

Powered by Google App Engine
This is Rietveld 408576698