OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 syntax = "proto2"; |
| 6 |
| 7 option optimize_for = LITE_RUNTIME; |
| 8 |
| 9 package browser_watcher; |
| 10 |
| 11 // The state of the system on which Chrome is running (shutting down, battery |
| 12 // level, load, etc.). |
| 13 message SystemState {} |
| 14 |
| 15 message CodeModule { |
| 16 // The base address of this code module as it was loaded by the process. |
| 17 optional int64 base_address = 1; |
| 18 |
| 19 // The size of the code module. |
| 20 optional int64 size = 2; |
| 21 |
| 22 // The path or file name that the code module was loaded from. |
| 23 optional string code_file = 3; |
| 24 |
| 25 // An identifying string used to discriminate between multiple versions and |
| 26 // builds of the same code module. This may contain a uuid, timestamp, |
| 27 // version number, or any combination of this or other information, in an |
| 28 // implementation-defined format. |
| 29 optional string code_identifier = 4; |
| 30 |
| 31 // The filename containing debugging information associated with the code |
| 32 // module. If debugging information is stored in a file separate from the |
| 33 // code module itself (as is the case when .pdb or .dSYM files are used), |
| 34 // this will be different from code_file. If debugging information is |
| 35 // stored in the code module itself (possibly prior to stripping), this |
| 36 // will be the same as code_file. |
| 37 optional string debug_file = 5; |
| 38 |
| 39 // An identifying string similar to code_identifier, but identifies a |
| 40 // specific version and build of the associated debug file. This may be |
| 41 // the same as code_identifier when the debug_file and code_file are |
| 42 // identical or when the same identifier is used to identify distinct |
| 43 // debug and code files. |
| 44 optional string debug_identifier = 6; |
| 45 |
| 46 // A human-readable representation of the code module's version. |
| 47 optional string version = 7; |
| 48 } |
| 49 |
| 50 // The state of a thread. |
| 51 message ThreadState { |
| 52 optional string thread_name = 1; |
| 53 } |
| 54 |
| 55 // The state of a process. |
| 56 message ProcessState { |
| 57 repeated CodeModule modules = 1; |
| 58 repeated ThreadState threads = 2; |
| 59 } |
| 60 |
| 61 // A stability report contains information relevant to Chrome's execution at a |
| 62 // specific time. |
| 63 message StabilityReport { |
| 64 optional SystemState system_state = 1; |
| 65 repeated ProcessState process_states = 2; |
| 66 } |
OLD | NEW |