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

Issue 2796143002: [Fuchsia] Implements the thread interrupter for CPU profiling. (Closed)

Created:
3 years, 8 months ago by zra
Modified:
3 years, 7 months ago
Reviewers:
rmacnak, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[Fuchsia] Implements the thread interrupter for CPU profiling. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/904aefe6e3b371cf82d41c92772f5995f3c3c40c

Patch Set 1 #

Patch Set 2 : Small fix #

Total comments: 6

Patch Set 3 : Address comments #

Patch Set 4 : Leave profiler off by default #

Patch Set 5 : Add comment #

Patch Set 6 : Format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -7 lines) Patch
M runtime/vm/os_thread.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/os_thread_fuchsia.h View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/os_thread_fuchsia.cc View 1 2 3 4 5 3 chunks +9 lines, -2 lines 0 comments Download
M runtime/vm/thread_interrupter_fuchsia.cc View 1 2 3 4 5 1 chunk +146 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
zra
This enables the the profiler's thread interrupter for Fuchsia, but does not attempt to read ...
3 years, 7 months ago (2017-05-12 22:47:02 UTC) #3
zra
This enables the the profiler's thread interrupter for Fuchsia, but does not attempt to read ...
3 years, 7 months ago (2017-05-12 22:47:02 UTC) #4
siva
lgtm https://codereview.chromium.org/2796143002/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc File runtime/vm/thread_interrupter_fuchsia.cc (right): https://codereview.chromium.org/2796143002/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc#newcode40 runtime/vm/thread_interrupter_fuchsia.cc:40: mx_status_get_string(status)); OS::PrintErr here? https://codereview.chromium.org/2796143002/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc#newcode54 runtime/vm/thread_interrupter_fuchsia.cc:54: state->fp = static_cast<uintptr_t>(regs->r[29]); ...
3 years, 7 months ago (2017-05-18 00:11:30 UTC) #5
rmacnak
https://codereview.chromium.org/2796143002/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc File runtime/vm/thread_interrupter_fuchsia.cc (right): https://codereview.chromium.org/2796143002/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc#newcode77 runtime/vm/thread_interrupter_fuchsia.cc:77: status = mx_object_get_child(mx_process_self(), Why use the koid as the ...
3 years, 7 months ago (2017-05-18 01:31:27 UTC) #6
zra
https://codereview.chromium.org/2796143002/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc File runtime/vm/thread_interrupter_fuchsia.cc (right): https://codereview.chromium.org/2796143002/diff/20001/runtime/vm/thread_interrupter_fuchsia.cc#newcode40 runtime/vm/thread_interrupter_fuchsia.cc:40: mx_status_get_string(status)); On 2017/05/18 00:11:30, siva wrote: > OS::PrintErr here? ...
3 years, 7 months ago (2017-05-23 16:09:43 UTC) #7
zra
I've had to disable the profiler by default because suspending a thread in a call ...
3 years, 7 months ago (2017-05-23 17:15:44 UTC) #8
zra
3 years, 7 months ago (2017-05-23 17:22:12 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
904aefe6e3b371cf82d41c92772f5995f3c3c40c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698