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

Side by Side Diff: components/metrics/proto/perf_data.proto

Issue 239093004: Move part of metrics from chrome/common to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittest that broke after rebase. Created 6 years, 8 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 (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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698