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

Issue 1884493003: Dump C++ symbols and merge into v8 log. (Closed)

Created:
4 years, 8 months ago by lpy
Modified:
4 years, 7 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Dump C++ symbols and merge into v8 log. Currently we already have tools to extract C++ symbols of d8, and output the statistics result. This patch creates two scripts, one is to use exsisting tools to extract C++ symbols and dump to output, the other collects all symbols and merges them into v8 log. The format of C++ symbols in v8 log is: cpp,start_address,size,symbol_name BUG=v8:4906 LOG=n Committed: https://crrev.com/aff441937d6bb1e2869772414ac5f0b0e0480143 Cr-Commit-Position: refs/heads/master@{#35841}

Patch Set 1 #

Patch Set 2 : Update similarity #

Total comments: 1

Patch Set 3 : Support other platform #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 10

Patch Set 8 : #

Total comments: 14

Patch Set 9 : #

Total comments: 26

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -0 lines) Patch
M tools/codemap.js View 1 chunk +8 lines, -0 lines 0 comments Download
A tools/dump-cpp.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +74 lines, -0 lines 0 comments Download
A tools/dumpcpp.js View 1 2 3 4 5 6 7 8 9 1 chunk +100 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (9 generated)
fmeawad
https://codereview.chromium.org/1884493003/diff/20001/tools/tickprocessor.js File tools/tickprocessor.js (right): https://codereview.chromium.org/1884493003/diff/20001/tools/tickprocessor.js#newcode794 tools/tickprocessor.js:794: '--dump-cpp': ['dumpCppEntries', true, I think it should be dump-cpp-symbols ...
4 years, 8 months ago (2016-04-14 11:42:50 UTC) #3
lpy
On 2016/04/14 11:42:50, fmeawad wrote: > https://codereview.chromium.org/1884493003/diff/20001/tools/tickprocessor.js > File tools/tickprocessor.js (right): > > https://codereview.chromium.org/1884493003/diff/20001/tools/tickprocessor.js#newcode794 > ...
4 years, 8 months ago (2016-04-15 22:01:45 UTC) #4
fmeawad
https://codereview.chromium.org/1884493003/diff/120001/tools/dump-cpp.py File tools/dump-cpp.py (right): https://codereview.chromium.org/1884493003/diff/120001/tools/dump-cpp.py#newcode43 tools/dump-cpp.py:43: JS_FILES = ['splaytree.js', 'codemap.js', 'csvparser.js', 'consarray.js', 'profile.js', 'logreader.js', 'tickprocessor.js', ...
4 years, 8 months ago (2016-04-19 12:52:25 UTC) #5
lpy
I updated the CL. Thanks. https://codereview.chromium.org/1884493003/diff/120001/tools/dump-cpp.py File tools/dump-cpp.py (right): https://codereview.chromium.org/1884493003/diff/120001/tools/dump-cpp.py#newcode43 tools/dump-cpp.py:43: JS_FILES = ['splaytree.js', 'codemap.js', ...
4 years, 8 months ago (2016-04-19 21:02:20 UTC) #6
lpy
Also I will update the description later, since we no longer modify tickprocessor.
4 years, 8 months ago (2016-04-19 21:03:37 UTC) #7
fmeawad
Some comments, also is there a chance we can add a test case? https://codereview.chromium.org/1884493003/diff/140001/tools/dump-cpp.py File ...
4 years, 8 months ago (2016-04-20 22:54:22 UTC) #9
lpy
I think it's not necessary to add the test since we are running a binary ...
4 years, 8 months ago (2016-04-20 23:10:37 UTC) #10
fmeawad
We need to at least be able to test the CppProcessor https://codereview.chromium.org/1884493003/diff/140001/tools/dump-cpp.py File tools/dump-cpp.py (right): ...
4 years, 8 months ago (2016-04-20 23:15:11 UTC) #11
lpy
On 2016/04/20 23:15:11, fmeawad wrote: > We need to at least be able to test ...
4 years, 8 months ago (2016-04-20 23:30:43 UTC) #12
fmeawad
On 2016/04/20 23:30:43, lpy wrote: > On 2016/04/20 23:15:11, fmeawad wrote: > > We need ...
4 years, 8 months ago (2016-04-21 00:54:11 UTC) #13
fmeawad
On 2016/04/21 00:54:11, fmeawad wrote: > On 2016/04/20 23:30:43, lpy wrote: > > On 2016/04/20 ...
4 years, 8 months ago (2016-04-22 17:31:03 UTC) #14
lpy
Thanks. +yang@ and machenbach@, PTAL.
4 years, 8 months ago (2016-04-22 17:41:13 UTC) #16
lpy
On 2016/04/22 17:41:13, lpy wrote: > Thanks. > > +yang@ and machenbach@, PTAL. gentle ping ...
4 years, 8 months ago (2016-04-25 20:01:09 UTC) #17
Michael Achenbach
I have a few python readability comments and suggestions. JS rubberstamp. +jarin for the general ...
4 years, 8 months ago (2016-04-26 12:16:11 UTC) #19
Yang
looking good. https://codereview.chromium.org/1884493003/diff/160001/tools/dumpcpp.js File tools/dumpcpp.js (right): https://codereview.chromium.org/1884493003/diff/160001/tools/dumpcpp.js#newcode41 tools/dumpcpp.js:41: // Pull dev tools source maps into ...
4 years, 8 months ago (2016-04-26 12:52:51 UTC) #20
lpy
Thanks. I updated the CL. PTAL. https://codereview.chromium.org/1884493003/diff/160001/tools/dump-cpp.py File tools/dump-cpp.py (right): https://codereview.chromium.org/1884493003/diff/160001/tools/dump-cpp.py#newcode2 tools/dump-cpp.py:2: # On 2016/04/26 ...
4 years, 8 months ago (2016-04-26 17:57:59 UTC) #21
Michael Achenbach
lgtm (mostly rubberstamp - checked code readability not if the tool does what it should)
4 years, 7 months ago (2016-04-27 07:47:02 UTC) #22
lpy
On 2016/04/27 07:47:02, Michael Achenbach wrote: > lgtm (mostly rubberstamp - checked code readability not ...
4 years, 7 months ago (2016-04-27 17:39:31 UTC) #23
Yang
lgtm. https://codereview.chromium.org/1884493003/diff/180001/tools/dump-cpp.py File tools/dump-cpp.py (right): https://codereview.chromium.org/1884493003/diff/180001/tools/dump-cpp.py#newcode56 tools/dump-cpp.py:56: sp = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=f) Can we ...
4 years, 7 months ago (2016-04-28 05:15:12 UTC) #24
lpy
Thanks for the review. @Jarin, PTAL. https://codereview.chromium.org/1884493003/diff/180001/tools/dump-cpp.py File tools/dump-cpp.py (right): https://codereview.chromium.org/1884493003/diff/180001/tools/dump-cpp.py#newcode56 tools/dump-cpp.py:56: sp = subprocess.Popen(args, ...
4 years, 7 months ago (2016-04-28 05:24:38 UTC) #25
Michael Achenbach
This was just FYI for jarin. I guess you can go ahead and land this ...
4 years, 7 months ago (2016-04-28 06:25:54 UTC) #26
lpy
On 2016/04/28 06:25:54, Michael Achenbach wrote: > This was just FYI for jarin. I guess ...
4 years, 7 months ago (2016-04-28 06:34:44 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884493003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884493003/200001
4 years, 7 months ago (2016-04-28 06:34:58 UTC) #30
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 7 months ago (2016-04-28 06:56:43 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:01:45 UTC) #34
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/aff441937d6bb1e2869772414ac5f0b0e0480143
Cr-Commit-Position: refs/heads/master@{#35841}

Powered by Google App Engine
This is Rietveld 408576698