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

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

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
« no previous file with comments | « components/metrics/public/cpp/call_stack_profile_struct_traits_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2a66be1f5564b8af15df0897156ff27631ca21f9 100644
--- a/components/metrics/public/interfaces/call_stack_profile_collector.mojom
+++ b/components/metrics/public/interfaces/call_stack_profile_collector.mojom
@@ -19,9 +19,14 @@ struct CallStackFrame {
uint64 module_index;
};
+struct CallStackSample {
+ array<CallStackFrame> frames;
+ uint32 process_phases;
+};
+
struct CallStackProfile {
array<CallStackModule> modules;
- array<array<CallStackFrame>> samples;
+ array<CallStackSample> samples;
mojo.common.mojom.TimeDelta profile_duration;
mojo.common.mojom.TimeDelta sampling_period;
};
« no previous file with comments | « components/metrics/public/cpp/call_stack_profile_struct_traits_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698