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

Side by Side Diff: components/browser_watcher/stability_report.proto

Issue 2685053003: Switch stability reports to use the crashed version's details (Closed)
Patch Set: Merge Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package browser_watcher; 9 package browser_watcher;
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 string string_value = 3; 71 string string_value = 3;
72 Reference string_reference = 4; 72 Reference string_reference = 4;
73 string char_value = 5; 73 string char_value = 5;
74 bool bool_value = 6; 74 bool bool_value = 6;
75 int64 signed_value = 7; 75 int64 signed_value = 7;
76 uint64 unsigned_value = 8; 76 uint64 unsigned_value = 8;
77 } 77 }
78 } 78 }
79 79
80 // An activity represents information about something of interest on a thread. 80 // An activity represents information about something of interest on a thread.
81 // Next id: 10 81 // Next id: 11
82 message Activity { 82 message Activity {
83 enum Type { 83 enum Type {
84 UNKNOWN = 0; 84 UNKNOWN = 0;
85 ACT_TASK_RUN = 1; 85 ACT_TASK_RUN = 1;
86 ACT_LOCK_ACQUIRE = 2; 86 ACT_LOCK_ACQUIRE = 2;
87 ACT_EVENT_WAIT = 3; 87 ACT_EVENT_WAIT = 3;
88 ACT_THREAD_JOIN = 4; 88 ACT_THREAD_JOIN = 4;
89 ACT_PROCESS_WAIT = 5; 89 ACT_PROCESS_WAIT = 5;
90 } 90 }
91 91
(...skipping 17 matching lines...) Expand all
109 109
110 // The memory address of the event object. 110 // The memory address of the event object.
111 optional uint64 event_address = 6; 111 optional uint64 event_address = 6;
112 112
113 // A unique identifier for a thread within a process. 113 // A unique identifier for a thread within a process.
114 optional int64 thread_id = 7; 114 optional int64 thread_id = 7;
115 115
116 // A unique identifier for a process. 116 // A unique identifier for a process.
117 optional int64 process_id = 8; 117 optional int64 process_id = 8;
118 118
119 // Tag id 10 is reserved for server side augmentation.
120
119 // A key-value store. 121 // A key-value store.
120 map<string, TypedValue> user_data = 9; 122 map<string, TypedValue> user_data = 9;
121 } 123 }
122 124
123 // The state of a thread. 125 // The state of a thread.
124 // Next id: 5 126 // Next id: 5
125 message ThreadState { 127 message ThreadState {
126 // The name of the thread, up to a maxiumum length. 128 // The name of the thread, up to a maxiumum length.
127 optional string thread_name = 1; 129 optional string thread_name = 1;
128 130
(...skipping 29 matching lines...) Expand all
158 // processes, or whether it's preferable to have separate fields per type. 160 // processes, or whether it's preferable to have separate fields per type.
159 // TODO(manzagop): add information about the type of process, pid, process 161 // TODO(manzagop): add information about the type of process, pid, process
160 // times (e.g. start time), hierarchical relationships (e.g. parent pid), 162 // times (e.g. start time), hierarchical relationships (e.g. parent pid),
161 // command line, etc. 163 // command line, etc.
162 repeated ProcessState process_states = 2; 164 repeated ProcessState process_states = 2;
163 // TODO(manzagop): if/when reports contain multiple processes, attribute and 165 // TODO(manzagop): if/when reports contain multiple processes, attribute and
164 // relocate these to their process (and perhaps thread). 166 // relocate these to their process (and perhaps thread).
165 repeated string log_messages = 3; 167 repeated string log_messages = 3;
166 map<string, TypedValue> global_data = 4; 168 map<string, TypedValue> global_data = 4;
167 } 169 }
OLDNEW
« no previous file with comments | « components/browser_watcher/stability_data_names.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698