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

Unified Diff: runtime/vm/profiler.cc

Issue 113133010: Only interrupt thread don't record sample. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/profiler.cc
diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
index b08b2cd2a1e25a5b3198c3bbfa8078c1d4eb3b08..2781637e589d1af4f77e5348d69f7988a5a3927e 100644
--- a/runtime/vm/profiler.cc
+++ b/runtime/vm/profiler.cc
@@ -133,7 +133,7 @@ void Profiler::BeginExecution(Isolate* isolate) {
Sample* sample = sample_buffer->ReserveSample();
sample->Init(Sample::kIsolateStart, isolate, OS::GetCurrentTimeMicros(),
Thread::GetCurrentThreadId());
- ThreadInterrupter::Register(RecordSampleInterruptCallback, isolate);
+ ThreadInterrupter::Register(ThreadInterruptNoOp, isolate);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698