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

Unified Diff: runtime/vm/profiler.cc

Issue 2943543002: Don't consider --profile-vm when collecting allocation samples; introduce a separate --profile-vm-al (Closed)
Patch Set: Created 3 years, 6 months 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 6eaca60e7084d8d77263a15ccd48d9581818e10e..72319adf8bf01bc98550fdcb26139a96401ca432 100644
--- a/runtime/vm/profiler.cc
+++ b/runtime/vm/profiler.cc
@@ -1085,7 +1085,8 @@ void Profiler::SampleAllocation(Thread* thread, intptr_t cid) {
Sample* sample = SetupSample(thread, sample_buffer, os_thread->trace_id());
sample->SetAllocationCid(cid);
- if (FLAG_profile_vm) {
+ // TODO(flutter/flutter#10744): Enable native stack walker.
+ if (FLAG_profile_vm && false) {
zra 2017/06/15 20:50:21 Should we add a separate flag for this instead tha
rmacnak 2017/07/11 18:17:18 So even with good frame pointer, using the native
ProfilerNativeStackWalker native_stack_walker(
(isolate != NULL) ? isolate->main_port() : ILLEGAL_PORT, sample,
sample_buffer, stack_lower, stack_upper, pc, fp, sp);
« 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