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

Unified Diff: components/metrics/public/interfaces/call_stack_profile_collector.mojom

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/public/interfaces/call_stack_profile_collector.mojom
diff --git a/components/metrics/public/interfaces/call_stack_profile_collector.mojom b/components/metrics/public/interfaces/call_stack_profile_collector.mojom
index 6c8f04216c63b74c5a327ceee279a304335b49f2..3f3fe8ff16258a116c6c48883189e00f762f6fed 100644
--- a/components/metrics/public/interfaces/call_stack_profile_collector.mojom
+++ b/components/metrics/public/interfaces/call_stack_profile_collector.mojom
@@ -19,9 +19,15 @@ struct CallStackFrame {
uint64 module_index;
};
+struct CallStackSample {
+ array<CallStackFrame> frames;
+ int32 process_phases;
Mike Wittman 2016/10/24 22:28:14 uint32
+ int32 current_activities;
+};
+
struct CallStackProfile {
array<CallStackModule> modules;
- array<array<CallStackFrame>> samples;
+ array<CallStackSample> samples;
mojo.common.mojom.TimeDelta profile_duration;
mojo.common.mojom.TimeDelta sampling_period;
};

Powered by Google App Engine
This is Rietveld 408576698