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

Issue 22897021: Add source map support to tick processor. (Closed)

Created:
7 years, 4 months ago by Daniel Kurka
Modified:
7 years, 4 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Add source map support to tick processor. Added a console parameter for source map to the tick processor. The tickprocesspor reads in the source maps and uses it to output the original filename, line number and column in the profile. Modified d8 to output column numbers into the log, since this is needed to do source mapping. R=jkummerow@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=16307

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : Fixed formatting issues #

Patch Set 4 : Checked in a clean copy of SourceMap.js and redirected calls to it #

Total comments: 2

Patch Set 5 : Added copyright & fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+450 lines, -14 lines) Patch
M src/compiler.cc View 3 chunks +6 lines, -2 lines 0 comments Download
M src/log.h View 1 chunk +1 line, -1 line 0 comments Download
M src/log.cc View 5 chunks +6 lines, -4 lines 0 comments Download
A tools/SourceMap.js View 1 2 3 4 1 chunk +371 lines, -0 lines 0 comments Download
M tools/linux-tick-processor View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tools/tickprocessor.js View 1 2 3 5 chunks +45 lines, -5 lines 0 comments Download
M tools/tickprocessor-driver.js View 1 2 3 4 3 chunks +19 lines, -1 line 0 comments Download
M tools/windows-tick-processor.bat View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Daniel Kurka
Can you please take a look
7 years, 4 months ago (2013-08-23 11:31:32 UTC) #1
Jakob Kummerow
Looks pretty good, except for formatting. https://codereview.chromium.org/22897021/diff/3001/tools/tickprocessor.js File tools/tickprocessor.js (left): https://codereview.chromium.org/22897021/diff/3001/tools/tickprocessor.js#oldcode33 tools/tickprocessor.js:33: nit: leave this ...
7 years, 4 months ago (2013-08-23 13:08:35 UTC) #2
Daniel Kurka
https://codereview.chromium.org/22897021/diff/3001/tools/tickprocessor.js File tools/tickprocessor.js (left): https://codereview.chromium.org/22897021/diff/3001/tools/tickprocessor.js#oldcode33 tools/tickprocessor.js:33: On 2013/08/23 13:08:35, Jakob wrote: > nit: leave this ...
7 years, 4 months ago (2013-08-23 13:31:43 UTC) #3
Daniel Kurka
I had to skip the presubmit check since putting a comment over the original file ...
7 years, 4 months ago (2013-08-23 14:26:41 UTC) #4
Daniel Kurka
7 years, 4 months ago (2013-08-23 14:26:53 UTC) #5
Jakob Kummerow
LGTM if you fix the last few nits. To appease the linter, I'd suggest to ...
7 years, 4 months ago (2013-08-23 15:13:37 UTC) #6
Daniel Kurka
https://codereview.chromium.org/22897021/diff/15001/tools/tickprocessor-driver.js File tools/tickprocessor-driver.js (right): https://codereview.chromium.org/22897021/diff/15001/tools/tickprocessor-driver.js#newcode41 tools/tickprocessor-driver.js:41: // pull it into our name space On 2013/08/23 ...
7 years, 4 months ago (2013-08-23 15:47:37 UTC) #7
Daniel Kurka
Added a proper v8 copyright header to SourceMap.js (this is a different format from blink) ...
7 years, 4 months ago (2013-08-23 15:56:28 UTC) #8
Jakob Kummerow
LGTM, I'll land this for you.
7 years, 4 months ago (2013-08-23 15:57:29 UTC) #9
Daniel Kurka
On 2013/08/23 15:57:29, Jakob wrote: > LGTM, I'll land this for you. Thank you Jakob ...
7 years, 4 months ago (2013-08-23 16:09:07 UTC) #10
Jakob Kummerow
7 years, 4 months ago (2013-08-23 17:21:08 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 manually as r16307.

Powered by Google App Engine
This is Rietveld 408576698