Intel VTune integration for V8/d8
authordanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 12 Apr 2013 12:48:27 +0000 (12:48 +0000)
committerdanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 12 Apr 2013 12:48:27 +0000 (12:48 +0000)
commitf5b660ac9775bb4f8ea49322304b965bbf52d2e4
tree90a676a1962f0d0984415913a353a63d0c3f7e2f
parent5206b0845131a03ab21c391906aebedcec08884e
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.

Review URL: https://codereview.chromium.org/11574031
Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14253 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 files changed:
Makefile
include/v8.h
src/api.cc
src/d8.cc
src/d8.gyp
src/third_party/vtune/ittnotify_config.h [new file with mode: 0644]
src/third_party/vtune/ittnotify_types.h [new file with mode: 0644]
src/third_party/vtune/jitprofiling.cc [new file with mode: 0644]
src/third_party/vtune/jitprofiling.h [new file with mode: 0644]
src/third_party/vtune/v8-vtune.h [new file with mode: 0644]
src/third_party/vtune/v8vtune.gyp [new file with mode: 0644]
src/third_party/vtune/vtune-jit.cc [new file with mode: 0644]
src/third_party/vtune/vtune-jit.h [new file with mode: 0644]