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

Unified Diff: runtime/vm/profiler_service.cc

Issue 1241653002: Factor cpu profile tree into separate element and expose allocation tracing UI (Closed) Base URL: git@github.com:dart-lang/sdk.git@expose_allocation_profile_service
Patch Set: Created 5 years, 5 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 | « runtime/vm/profiler.h ('k') | runtime/vm/tags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/profiler_service.cc
diff --git a/runtime/vm/profiler_service.cc b/runtime/vm/profiler_service.cc
index 7ae43a530a20c82b6764b7996b7d39e433ee995e..bf47f206a1e86b62e3ab09b1a37245ad12c9bad7 100644
--- a/runtime/vm/profiler_service.cc
+++ b/runtime/vm/profiler_service.cc
@@ -1238,7 +1238,7 @@ class ProfileBuilder : public ValueObject {
current,
i,
(j == 0),
- sample->first_frame_executing(),
+ sample->first_frame_executing() || sample->IsAllocationSample(),
true);
}
}
@@ -1266,7 +1266,7 @@ class ProfileBuilder : public ValueObject {
current,
i,
(j == 0),
- sample->first_frame_executing(),
+ sample->first_frame_executing() || sample->IsAllocationSample(),
false);
}
« no previous file with comments | « runtime/vm/profiler.h ('k') | runtime/vm/tags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698