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

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

Issue 2444143002: Add process lifetime annotations to stack samples. (Closed)
Patch Set: Created 4 years, 2 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
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..06253e2696481de0e2e6fb48d773c60504a51c0d 100644
--- a/components/metrics/proto/call_stack_profile.proto
+++ b/components/metrics/proto/call_stack_profile.proto
@@ -32,6 +32,17 @@ message CallStackProfile {
// Number of times this stack signature occurs.
optional int64 count = 2;
+
+ // This bit-field provide information about the current phase of the system
+ // such as whether it is in startup, general operation, or shutdown. This
+ // field is not present if it is unchanged from the previous Sample.
+ optional fixed32 process_phases = 3;
Mike Wittman 2016/10/24 22:28:14 The individual phases and activities should be exp
bcwhite 2016/10/25 14:45:23 As I understand it, this will require the constant
Mike Wittman 2016/10/25 17:24:22 The interpretation of the phases/activities is par
bcwhite 2016/10/25 21:10:42 I'll work on it.
+
+ // This bit-field provide information about current activities of the system
+ // such as whether it is (for example) writing out profile information or
+ // uploading metrics. This field is not present if it is unchanged from the
+ // previous Sample.
+ optional fixed32 current_activities = 4;
}
// Uniquely identifies a module.

Powered by Google App Engine
This is Rietveld 408576698