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

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

Issue 2927653003: Stability instrumentation: add a Vectored Exception Handler (Closed)
Patch Set: merge Created 3 years, 6 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 // An arbitrary value used for information purposes. 136 // An arbitrary value used for information purposes.
137 optional int32 generic_data = 13; 137 optional int32 generic_data = 13;
138 138
139 // Tag id 10 is reserved for server side augmentation. 139 // Tag id 10 is reserved for server side augmentation.
140 140
141 // A key-value store. 141 // A key-value store.
142 map<string, TypedValue> user_data = 9; 142 map<string, TypedValue> user_data = 9;
143 } 143 }
144 144
145 // Details about an exception.
146 // Next id: 5
147 message Exception {
148 optional uint32 code = 1;
149 optional uint64 program_counter = 2;
150 optional uint64 exception_address = 3;
151 optional int64 time = 4;
152 }
153
145 // The state of a thread. 154 // The state of a thread.
146 // Next id: 5 155 // Next id: 6
147 message ThreadState { 156 message ThreadState {
148 // The name of the thread, up to a maxiumum length. 157 // The name of the thread, up to a maxiumum length.
149 optional string thread_name = 1; 158 optional string thread_name = 1;
150 159
151 // The identifier of the thread. 160 // The identifier of the thread.
152 optional int64 thread_id = 2; 161 optional int64 thread_id = 2;
153 162
154 // The activity stack. |activity_count| specifies the number of activities on 163 // The activity stack. |activity_count| specifies the number of activities on
155 // stack and |activities| holds the base of the stack (up to a maximum size). 164 // stack and |activities| holds the base of the stack (up to a maximum size).
156 optional int32 activity_count = 3; 165 optional int32 activity_count = 3;
157 repeated Activity activities = 4; 166 repeated Activity activities = 4;
167
168 // The last exception to be successfully captured. Note this exception may
169 // have been recovered from.
170 optional Exception exception = 5;
158 } 171 }
159 172
160 // The state of a process. 173 // The state of a process.
161 // Next id: 4 174 // Next id: 4
162 message ProcessState { 175 message ProcessState {
163 // The identifier of the process. 176 // The identifier of the process.
164 optional int64 process_id = 3; 177 optional int64 process_id = 3;
165 178
166 // Note: likely only a subset of modules of interest (e.g. Chromium's own 179 // Note: likely only a subset of modules of interest (e.g. Chromium's own
167 // modules). 180 // modules).
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // command line, etc. 214 // command line, etc.
202 repeated ProcessState process_states = 2; 215 repeated ProcessState process_states = 2;
203 // TODO(manzagop): if/when reports contain multiple processes, attribute and 216 // TODO(manzagop): if/when reports contain multiple processes, attribute and
204 // relocate these to their process (and perhaps thread). 217 // relocate these to their process (and perhaps thread).
205 repeated string log_messages = 3; 218 repeated string log_messages = 3;
206 map<string, TypedValue> global_data = 4; 219 map<string, TypedValue> global_data = 4;
207 220
208 // The field trials the user is currently enrolled in. 221 // The field trials the user is currently enrolled in.
209 repeated FieldTrial field_trials = 5; 222 repeated FieldTrial field_trials = 5;
210 } 223 }
OLDNEW
« no previous file with comments | « components/browser_watcher/stability_paths_unittest.cc ('k') | components/browser_watcher/stability_report_extractor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698