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

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

Issue 2444143002: Add process lifetime annotations to stack samples. (Closed)
Patch Set: addressed review comments by wittman 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..2b5a763a4508927623f701fbe7db2c1de5d8d3d3 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;
+ uint32 process_phases;
+ uint32 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