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

Issue 11574031: Intel VTune integration for V8/D8 (Closed)

Created:
8 years ago by chunyang.dai
Modified:
7 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

Description

Intel VTune integration for V8/d8 In this patch, we added the JIT code event handler for Vtune. Most of the code is in the folder src/third_party/vtune. Two APIs are added in include/v8.h to get the requirement info from V8. We add the v8_enable_vtunejit parameter for GYP to enable these Vtune code compilation. vTune::InitilizeVtuneForV8() is invoked in the embedder of V8 to make sure it's invokded if vtune support is enabled. Committed: http://code.google.com/p/v8/source/detail?r=14253

Patch Set 1 #

Total comments: 11

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Total comments: 7

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1941 lines, -0 lines) Patch
M Makefile View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M include/v8.h View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
M src/d8.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M src/d8.gyp View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
A src/third_party/vtune/ittnotify_config.h View 1 chunk +484 lines, -0 lines 0 comments Download
A src/third_party/vtune/ittnotify_types.h View 1 chunk +113 lines, -0 lines 0 comments Download
A src/third_party/vtune/jitprofiling.h View 1 2 1 chunk +298 lines, -0 lines 0 comments Download
A src/third_party/vtune/jitprofiling.cc View 1 chunk +499 lines, -0 lines 0 comments Download
A src/third_party/vtune/v8-vtune.h View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download
A src/third_party/vtune/v8vtune.gyp View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
A src/third_party/vtune/vtune-jit.h View 1 2 3 4 1 chunk +82 lines, -0 lines 0 comments Download
A src/third_party/vtune/vtune-jit.cc View 1 2 3 4 1 chunk +279 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
danno
Adding jkummerow@ who should review the build system changes (unfortunately, he's on vacation until the ...
8 years ago (2012-12-20 16:34:37 UTC) #1
Jakob Kummerow
Fortunately, I have a working internet connection and a few spare minutes every now and ...
8 years ago (2012-12-21 12:50:57 UTC) #2
chunyang.dai
I updated the code according to your comments. The code to initialize Vtune support is ...
7 years, 11 months ago (2013-01-10 15:59:56 UTC) #3
danno
I'd like to review this until: https://codereview.chromium.org/11552033 is further along, because it will likely mean ...
7 years, 11 months ago (2013-01-10 17:05:32 UTC) #4
chunyang.dai
hello. please help to review this patch since the patch https://codereview.chromium.org/12223027/ is ok now. thanks.
7 years, 10 months ago (2013-02-18 14:16:51 UTC) #5
danno
Thanks for the patch! Here is a new round of comments. At a high level, ...
7 years, 10 months ago (2013-02-25 20:25:37 UTC) #6
Jakob Kummerow
https://codereview.chromium.org/11574031/diff/73002/tools/gyp/v8.gyp File tools/gyp/v8.gyp (right): https://codereview.chromium.org/11574031/diff/73002/tools/gyp/v8.gyp#newcode760 tools/gyp/v8.gyp:760: 'sources' : [ nit: no space before ':' https://codereview.chromium.org/11574031/diff/73002/tools/gyp/v8.gyp#newcode763 ...
7 years, 10 months ago (2013-02-26 09:10:25 UTC) #7
chunyang.dai
hello. Daniel & Jakob please help to review the latest code. For the V8EXPORT definition ...
7 years, 9 months ago (2013-03-04 12:20:59 UTC) #8
Jakob Kummerow
Makefile, common.gypi, v8.gyp LGTM.
7 years, 9 months ago (2013-03-04 13:35:42 UTC) #9
danno
Thanks for the updated patch. My fundamental feedback is that this is still the right ...
7 years, 9 months ago (2013-03-07 14:19:20 UTC) #10
Jakob Kummerow
https://codereview.chromium.org/11574031/diff/88001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/11574031/diff/88001/build/common.gypi#newcode90 build/common.gypi:90: 'v8_enable_vtunejit%': 0, Since this variable will only affect d8, ...
7 years, 9 months ago (2013-03-07 14:46:30 UTC) #11
chunyang.dai
hello, Daniel & Jakob. I updated the patch according to your comments. Please help to ...
7 years, 9 months ago (2013-03-20 15:09:01 UTC) #12
chunyang.dai
hello, Daniel & Jakob. Could you please review this patch? Thanks.
7 years, 9 months ago (2013-03-25 16:32:46 UTC) #13
Jakob Kummerow
https://codereview.chromium.org/11574031/diff/99001/src/third_party/vtune/v8vtune.gyp File src/third_party/vtune/v8vtune.gyp (right): https://codereview.chromium.org/11574031/diff/99001/src/third_party/vtune/v8vtune.gyp#newcode1 src/third_party/vtune/v8vtune.gyp:1: # Copyright 2012 the V8 project authors. All rights ...
7 years, 9 months ago (2013-03-25 17:10:43 UTC) #14
Daniel Berlin
We can't include this file with this license, but unless i'm missing something, i'd bet ...
7 years, 9 months ago (2013-03-25 17:21:52 UTC) #15
Daniel Berlin
Sorry, looks like i got linked to an old snapshot :) This is all fine ...
7 years, 9 months ago (2013-03-25 17:34:25 UTC) #16
danno
https://codereview.chromium.org/11574031/diff/99001/src/third_party/vtune/vtune-jit.cc File src/third_party/vtune/vtune-jit.cc (right): https://codereview.chromium.org/11574031/diff/99001/src/third_party/vtune/vtune-jit.cc#newcode187 src/third_party/vtune/vtune-jit.cc:187: reinterpret_cast<v8::internal::Script**>(*event->script); You should at no point access anything in ...
7 years, 9 months ago (2013-03-27 12:33:47 UTC) #17
chunyang.dai
Hello. Daniel & Jakob. I updated the code according to your comments: 1, the vtune ...
7 years, 8 months ago (2013-04-10 11:25:28 UTC) #18
Jakob Kummerow
https://codereview.chromium.org/11574031/diff/127001/src/third_party/vtune/v8vtune.gyp File src/third_party/vtune/v8vtune.gyp (right): https://codereview.chromium.org/11574031/diff/127001/src/third_party/vtune/v8vtune.gyp#newcode34 src/third_party/vtune/v8vtune.gyp:34: 'dependencies': [ nit: please don't use tabs for indentation, ...
7 years, 8 months ago (2013-04-11 12:49:19 UTC) #19
danno
Sven: Can you please review the changes in v8.h? https://codereview.chromium.org/11574031/diff/127001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/11574031/diff/127001/src/api.cc#newcode1853 src/api.cc:1853: ...
7 years, 8 months ago (2013-04-11 13:33:46 UTC) #20
Sven Panne
LGTM (v8.h and api.cc part)
7 years, 8 months ago (2013-04-11 13:47:05 UTC) #21
danno
If you address the remaining comments, I will land this for you.
7 years, 8 months ago (2013-04-11 14:17:34 UTC) #22
chunyang.dai
Hello, Daniel & Jakob. Thanks a lot for your correction. I updated the code. Please ...
7 years, 8 months ago (2013-04-12 06:07:44 UTC) #23
Jakob Kummerow
Makefile and *.gyp LGTM.
7 years, 8 months ago (2013-04-12 09:09:07 UTC) #24
danno
lgtm, I'll land this for you
7 years, 8 months ago (2013-04-12 12:42:42 UTC) #25
danno
7 years, 8 months ago (2013-04-12 12:48:42 UTC) #26
Message was sent while issue was closed.
Committed patchset #6 manually as r14253 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698