Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 metrics; | 9 package metrics; |
| 10 | 10 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 175 | 175 |
| 176 // Thread id. | 176 // Thread id. |
| 177 optional uint32 tid = 2; | 177 optional uint32 tid = 2; |
| 178 | 178 |
| 179 // Comm string's md5 prefix. | 179 // Comm string's md5 prefix. |
| 180 // The comm string was field 3 and has been intentionally left out. | 180 // The comm string was field 3 and has been intentionally left out. |
| 181 optional uint64 comm_md5_prefix = 4; | 181 optional uint64 comm_md5_prefix = 4; |
| 182 | 182 |
| 183 // Time the sample was taken. | 183 // Time the sample was taken. |
| 184 // Deprecated, use |sample_info| instead. | 184 // Deprecated, use |sample_info| instead. |
| 185 optional uint64 sample_time = 5 [deprecated=true]; | 185 optional uint64 sample_time = 5 [deprecated = true]; |
|
Ilya Sherman
2014/04/15 23:00:40
Ditto
| |
| 186 | 186 |
| 187 // Info about the perf sample containing this event. | 187 // Info about the perf sample containing this event. |
| 188 optional SampleInfo sample_info = 6; | 188 optional SampleInfo sample_info = 6; |
| 189 } | 189 } |
| 190 | 190 |
| 191 message MMapEvent { | 191 message MMapEvent { |
| 192 // Process id. | 192 // Process id. |
| 193 optional uint32 pid = 1; | 193 optional uint32 pid = 1; |
| 194 | 194 |
| 195 // Thread id. | 195 // Thread id. |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 347 | 347 |
| 348 // Records some stats about the serialized perf events. | 348 // Records some stats about the serialized perf events. |
| 349 optional PerfEventStats stats = 4; | 349 optional PerfEventStats stats = 4; |
| 350 | 350 |
| 351 // Not added from original: repeated uint64 metadata_mask = 5; | 351 // Not added from original: repeated uint64 metadata_mask = 5; |
| 352 // Not added from original: repeated PerfStringMetadata string_metadata = 6; | 352 // Not added from original: repeated PerfStringMetadata string_metadata = 6; |
| 353 | 353 |
| 354 // Build ID metadata. | 354 // Build ID metadata. |
| 355 repeated PerfBuildID build_ids = 7; | 355 repeated PerfBuildID build_ids = 7; |
| 356 } | 356 } |
| OLD | NEW |