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

Issue 1270003002: Chain samples together to collect long stack traces in profiler (Closed)

Created:
5 years, 4 months ago by Cutch
Modified:
5 years, 3 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Chain samples together to collect long stack traces in profiler - Add continuation_index field to profiler sample. - Add bit to tell if a sample is the head of a chain. - Add bit to tell if a sample has a chained sample. - Each sample holds 8 frames. - Collect up to 8 frames (1 sample) by default. - Refactor stack walker code to support chaining during stack walking. - Add unit test collecting 20 stack frames. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/d61c0ebc04aaff27b1f285316b36dab4c5e98151

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -122 lines) Patch
M runtime/vm/profiler.h View 1 2 3 7 chunks +49 lines, -31 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 3 4 5 6 7 20 chunks +140 lines, -55 lines 0 comments Download
M runtime/vm/profiler_service.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/profiler_test.cc View 1 2 3 4 5 6 7 14 chunks +171 lines, -34 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Cutch
5 years, 4 months ago (2015-08-03 13:41:00 UTC) #2
siva
lgtm https://codereview.chromium.org/1270003002/diff/20001/runtime/vm/profiler.cc File runtime/vm/profiler.cc (right): https://codereview.chromium.org/1270003002/diff/20001/runtime/vm/profiler.cc#newcode269 runtime/vm/profiler.cc:269: Sample* next = ReserveSample(); Why not have a ...
5 years, 4 months ago (2015-08-04 21:33:10 UTC) #3
Cutch
https://codereview.chromium.org/1270003002/diff/20001/runtime/vm/profiler.cc File runtime/vm/profiler.cc (right): https://codereview.chromium.org/1270003002/diff/20001/runtime/vm/profiler.cc#newcode269 runtime/vm/profiler.cc:269: Sample* next = ReserveSample(); On 2015/08/04 21:33:09, siva wrote: ...
5 years, 4 months ago (2015-08-05 13:49:13 UTC) #4
Cutch
5 years, 3 months ago (2015-08-24 18:29:49 UTC) #5
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
d61c0ebc04aaff27b1f285316b36dab4c5e98151 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698