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

Issue 578163002: Implemented GetSample. (Closed)

Created:
6 years, 3 months ago by gholap
Modified:
6 years ago
CC:
v8-dev, Paweł Hajdan Jr., fmeawad
Project:
v8
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 13

Patch Set 2 : Passing pc as part of RegisterState. Moved RegisterState out. Addressed nits. #

Patch Set 3 : Added a constructor for RegisterState from context #

Patch Set 4 : Including win32-headers.h in v8.h for testing on trybots. #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+384 lines, -138 lines) Patch
M include/v8.h View 1 2 3 3 chunks +61 lines, -0 lines 3 comments Download
M src/api.cc View 1 2 3 chunks +138 lines, -0 lines 2 comments Download
M src/sampler.h View 1 4 chunks +4 lines, -9 lines 1 comment Download
M src/sampler.cc View 1 2 7 chunks +11 lines, -129 lines 0 comments Download
M test/cctest/cctest.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/test-sampler-api.cc View 1 2 1 chunk +169 lines, -0 lines 3 comments Download

Messages

Total messages: 13 (3 generated)
gholap
Implemented GetSample. - It doesn't have any thread-specific stuff - A test to go along, ...
6 years, 3 months ago (2014-09-18 03:27:59 UTC) #2
alph
https://codereview.chromium.org/578163002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/578163002/diff/1/src/api.cc#newcode6779 src/api.cc:6779: void Isolate::GetSample(void* sp, void* fp, Sample* sample) { What ...
6 years, 3 months ago (2014-09-18 11:34:29 UTC) #3
loislo
https://codereview.chromium.org/578163002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/578163002/diff/1/include/v8.h#newcode1428 include/v8.h:1428: Sample(InputIterator first, InputIterator last) Looks like it should be ...
6 years, 3 months ago (2014-09-18 13:07:28 UTC) #5
loislo
https://codereview.chromium.org/578163002/diff/1/test/cctest/test-sampler-api.cc File test/cctest/test-sampler-api.cc (right): https://codereview.chromium.org/578163002/diff/1/test/cctest/test-sampler-api.cc#newcode155 test/cctest/test-sampler-api.cc:155: // Platform specific implementation of GetStackAndFramePointers this is doesn't ...
6 years, 3 months ago (2014-09-18 14:42:44 UTC) #6
gholap
Patch 2 Address all concerns except: Getting the RegisterState from CONTEXT. Added patch 3 for ...
6 years, 3 months ago (2014-09-18 23:24:15 UTC) #7
yurys
https://codereview.chromium.org/578163002/diff/60001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/578163002/diff/60001/include/v8.h#newcode64 include/v8.h:64: /* #if !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR) */ We shouldn't expose ...
6 years, 3 months ago (2014-09-19 08:08:12 UTC) #8
loislo
looks like I was a bit wrong in my previous comment about platform depended code. ...
6 years, 3 months ago (2014-09-19 08:58:16 UTC) #9
alph
https://codereview.chromium.org/578163002/diff/60001/test/cctest/test-sampler-api.cc File test/cctest/test-sampler-api.cc (right): https://codereview.chromium.org/578163002/diff/60001/test/cctest/test-sampler-api.cc#newcode47 test/cctest/test-sampler-api.cc:47: } nit: } // namespace https://codereview.chromium.org/578163002/diff/60001/test/cctest/test-sampler-api.cc#newcode109 test/cctest/test-sampler-api.cc:109: } ditto ...
6 years, 3 months ago (2014-09-19 11:43:05 UTC) #10
yurys
We discussed this over VC today and agreed that the API should not use plarform-specific ...
6 years, 3 months ago (2014-09-19 13:48:21 UTC) #11
yurys
6 years ago (2014-11-25 12:18:59 UTC) #13

Powered by Google App Engine
This is Rietveld 408576698