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

Unified Diff: components/metrics/proto/call_stack_profile.proto

Issue 2444143002: Add process lifetime annotations to stack samples. (Closed)
Patch Set: abandon generator for on-the-fly Profiles creation Created 4 years, 1 month 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
Index: components/metrics/proto/call_stack_profile.proto
diff --git a/components/metrics/proto/call_stack_profile.proto b/components/metrics/proto/call_stack_profile.proto
index e41b3390224ab8561f2285d7bd36217d990475ef..4c601c49b2d315f64e6645b57a1b0097788230f5 100644
--- a/components/metrics/proto/call_stack_profile.proto
+++ b/components/metrics/proto/call_stack_profile.proto
@@ -12,6 +12,8 @@ option java_package = "org.chromium.components.metrics";
package metrics;
+import "execution_context.proto";
+
// Next tag: 5
message CallStackProfile {
// Describes an entry in the callstack.
@@ -32,6 +34,12 @@ message CallStackProfile {
// Number of times this stack signature occurs.
optional int64 count = 2;
+
+ // This repeating field indicates the current phase of the system such as
+ // whether it is in startup, general operation, or shutdown. It is a full
+ // list with the first sample and after that each indicates only the new
+ // phases that are achieved.
+ repeated ProcessPhase process_phase = 3;
}
// Uniquely identifies a module.
« no previous file with comments | « components/metrics/call_stack_profile_metrics_provider_unittest.cc ('k') | components/metrics/proto/execution_context.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698