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

Issue 884113002: Refactor the symbol parsing, and move to NDK's nm. (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

Refactor the symbol parsing, and move to NDK's nm. First part of the orderfile generating script refactor. The aim here is to make sure that all scripts parse the object files the same way, using the same tool. This commit extracts the parsing logic from patch_orderfile.py. It uses nm from the Android NDK. BUG=452879 Committed: https://crrev.com/719d8624a8c241085bd5793557cd6601aeca8f0b Cr-Commit-Position: refs/heads/master@{#313528}

Patch Set 1 #

Patch Set 2 : Typo. #

Total comments: 22

Patch Set 3 : Address comments. #

Total comments: 4

Patch Set 4 : Missing blank line. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -100 lines) Patch
M tools/cygprofile/patch_orderfile.py View 1 2 3 chunks +16 lines, -38 lines 0 comments Download
M tools/cygprofile/patch_orderfile_unittest.py View 1 2 2 chunks +25 lines, -62 lines 0 comments Download
A tools/cygprofile/symbol_extractor.py View 1 2 3 1 chunk +120 lines, -0 lines 0 comments Download
A tools/cygprofile/symbol_extractor_unittest.py View 1 2 1 chunk +98 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Benoit L
Hello, Please review this refactor. More to come :-)
5 years, 10 months ago (2015-01-28 13:21:08 UTC) #2
pasko
https://codereview.chromium.org/884113002/diff/20001/tools/cygprofile/patch_orderfile.py File tools/cygprofile/patch_orderfile.py (right): https://codereview.chromium.org/884113002/diff/20001/tools/cygprofile/patch_orderfile.py#newcode31 tools/cygprofile/patch_orderfile.py:31: import symbols_extractor s/symbols_extractor/symbol_extractor/ https://codereview.chromium.org/884113002/diff/20001/tools/cygprofile/patch_orderfile.py#newcode53 tools/cygprofile/patch_orderfile.py:53: The same output as ...
5 years, 10 months ago (2015-01-28 14:37:02 UTC) #3
Benoit L
Thank you for the review. All done. https://codereview.chromium.org/884113002/diff/20001/tools/cygprofile/patch_orderfile.py File tools/cygprofile/patch_orderfile.py (right): https://codereview.chromium.org/884113002/diff/20001/tools/cygprofile/patch_orderfile.py#newcode31 tools/cygprofile/patch_orderfile.py:31: import symbols_extractor ...
5 years, 10 months ago (2015-01-28 15:20:41 UTC) #4
pasko
LGTM, thank you https://codereview.chromium.org/884113002/diff/40001/tools/cygprofile/symbol_extractor.py File tools/cygprofile/symbol_extractor.py (right): https://codereview.chromium.org/884113002/diff/40001/tools/cygprofile/symbol_extractor.py#newcode27 tools/cygprofile/symbol_extractor.py:27: def FromNmLine(line): nit: add an extra ...
5 years, 10 months ago (2015-01-28 15:57:24 UTC) #5
Benoit L
Thank you for the quick and thorough review. https://codereview.chromium.org/884113002/diff/40001/tools/cygprofile/symbol_extractor.py File tools/cygprofile/symbol_extractor.py (right): https://codereview.chromium.org/884113002/diff/40001/tools/cygprofile/symbol_extractor.py#newcode27 tools/cygprofile/symbol_extractor.py:27: def ...
5 years, 10 months ago (2015-01-28 16:03:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/884113002/60001
5 years, 10 months ago (2015-01-28 16:04:52 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-01-28 16:49:11 UTC) #9
commit-bot: I haz the power
5 years, 10 months ago (2015-01-28 16:50:02 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/719d8624a8c241085bd5793557cd6601aeca8f0b
Cr-Commit-Position: refs/heads/master@{#313528}

Powered by Google App Engine
This is Rietveld 408576698