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

Issue 2250823002: Partially implement DBC profiler. (Closed)

Created:
4 years, 4 months ago by rmacnak
Modified:
4 years, 4 months ago
Reviewers:
zra, Cutch
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

Partially implement DBC profiler. - Fix setting exit frame info to indicate when we are executing Dart code. - Copy local pc to memory on call and return to make it accessible to the profiler. Since the profiler cannot access the local pc, the profiler is not accurate at the instruction level. - Teach the profiler's stack walker that the stack grows up for Dart frames on DBC. R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/59c52a5b6428e677d5f7515185bb0dafa9796b31

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 9

Patch Set 4 : comments #

Patch Set 5 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -36 lines) Patch
M runtime/vm/profiler.cc View 1 2 3 4 chunks +16 lines, -9 lines 0 comments Download
M runtime/vm/signal_handler_macos.cc View 1 2 1 chunk +8 lines, -16 lines 0 comments Download
M runtime/vm/simulator_arm.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/simulator_arm64.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/simulator_dbc.h View 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/simulator_dbc.cc View 1 2 3 4 10 chunks +10 lines, -0 lines 0 comments Download
M runtime/vm/simulator_mips.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/thread.h View 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
rmacnak
4 years, 4 months ago (2016-08-19 00:22:33 UTC) #2
Cutch
LGTM w/c https://chromiumcodereview.appspot.com/2250823002/diff/40001/runtime/vm/profiler.cc File runtime/vm/profiler.cc (right): https://chromiumcodereview.appspot.com/2250823002/diff/40001/runtime/vm/profiler.cc#newcode534 runtime/vm/profiler.cc:534: // FP didn't move to a higher ...
4 years, 4 months ago (2016-08-19 13:49:31 UTC) #3
zra
https://chromiumcodereview.appspot.com/2250823002/diff/40001/runtime/vm/profiler.cc File runtime/vm/profiler.cc (right): https://chromiumcodereview.appspot.com/2250823002/diff/40001/runtime/vm/profiler.cc#newcode864 runtime/vm/profiler.cc:864: if (!in_dart_code && sp > *stack_lower) { please add ...
4 years, 4 months ago (2016-08-19 15:40:08 UTC) #4
rmacnak
https://codereview.chromium.org/2250823002/diff/40001/runtime/vm/profiler.cc File runtime/vm/profiler.cc (right): https://codereview.chromium.org/2250823002/diff/40001/runtime/vm/profiler.cc#newcode534 runtime/vm/profiler.cc:534: // FP didn't move to a higher address. On ...
4 years, 4 months ago (2016-08-19 23:28:17 UTC) #5
rmacnak
4 years, 4 months ago (2016-08-19 23:48:39 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
59c52a5b6428e677d5f7515185bb0dafa9796b31 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698