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

Side by Side Diff: base/trace_event/trace_log.h

Issue 1539703002: [Tracing] Remove context_id in favor of traits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo some git cl format Created 5 years 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
« no previous file with comments | « base/trace_event/trace_event_impl.cc ('k') | base/trace_event/trace_log.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef BASE_TRACE_EVENT_TRACE_LOG_H_ 5 #ifndef BASE_TRACE_EVENT_TRACE_LOG_H_
6 #define BASE_TRACE_EVENT_TRACE_LOG_H_ 6 #define BASE_TRACE_EVENT_TRACE_LOG_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 char phase, 183 char phase,
184 const unsigned char* category_group_enabled, 184 const unsigned char* category_group_enabled,
185 const char* name, 185 const char* name,
186 unsigned long long id, 186 unsigned long long id,
187 int num_args, 187 int num_args,
188 const char** arg_names, 188 const char** arg_names,
189 const unsigned char* arg_types, 189 const unsigned char* arg_types,
190 const unsigned long long* arg_values, 190 const unsigned long long* arg_values,
191 const scoped_refptr<ConvertableToTraceFormat>* convertable_values, 191 const scoped_refptr<ConvertableToTraceFormat>* convertable_values,
192 unsigned int flags); 192 unsigned int flags);
193 TraceEventHandle AddTraceEventWithContextId( 193 TraceEventHandle AddTraceEventWithBindId(
194 char phase, 194 char phase,
195 const unsigned char* category_group_enabled, 195 const unsigned char* category_group_enabled,
196 const char* name, 196 const char* name,
197 unsigned long long id, 197 unsigned long long id,
198 unsigned long long context_id, 198 unsigned long long bind_id,
199 int num_args, 199 int num_args,
200 const char** arg_names, 200 const char** arg_names,
201 const unsigned char* arg_types, 201 const unsigned char* arg_types,
202 const unsigned long long* arg_values, 202 const unsigned long long* arg_values,
203 const scoped_refptr<ConvertableToTraceFormat>* convertable_values, 203 const scoped_refptr<ConvertableToTraceFormat>* convertable_values,
204 unsigned int flags); 204 unsigned int flags);
205 TraceEventHandle AddTraceEventWithProcessId( 205 TraceEventHandle AddTraceEventWithProcessId(
206 char phase, 206 char phase,
207 const unsigned char* category_group_enabled, 207 const unsigned char* category_group_enabled,
208 const char* name, 208 const char* name,
209 unsigned long long id, 209 unsigned long long id,
210 int process_id, 210 int process_id,
211 int num_args, 211 int num_args,
212 const char** arg_names, 212 const char** arg_names,
213 const unsigned char* arg_types, 213 const unsigned char* arg_types,
214 const unsigned long long* arg_values, 214 const unsigned long long* arg_values,
215 const scoped_refptr<ConvertableToTraceFormat>* convertable_values, 215 const scoped_refptr<ConvertableToTraceFormat>* convertable_values,
216 unsigned int flags); 216 unsigned int flags);
217 TraceEventHandle AddTraceEventWithThreadIdAndTimestamp( 217 TraceEventHandle AddTraceEventWithThreadIdAndTimestamp(
218 char phase, 218 char phase,
219 const unsigned char* category_group_enabled, 219 const unsigned char* category_group_enabled,
220 const char* name, 220 const char* name,
221 unsigned long long id, 221 unsigned long long id,
222 unsigned long long context_id,
223 int thread_id, 222 int thread_id,
224 const TimeTicks& timestamp, 223 const TimeTicks& timestamp,
225 int num_args, 224 int num_args,
226 const char** arg_names, 225 const char** arg_names,
227 const unsigned char* arg_types, 226 const unsigned char* arg_types,
228 const unsigned long long* arg_values, 227 const unsigned long long* arg_values,
229 const scoped_refptr<ConvertableToTraceFormat>* convertable_values, 228 const scoped_refptr<ConvertableToTraceFormat>* convertable_values,
230 unsigned int flags); 229 unsigned int flags);
231 TraceEventHandle AddTraceEventWithThreadIdAndTimestamp( 230 TraceEventHandle AddTraceEventWithThreadIdAndTimestamp(
232 char phase, 231 char phase,
233 const unsigned char* category_group_enabled, 232 const unsigned char* category_group_enabled,
234 const char* name, 233 const char* name,
235 unsigned long long id, 234 unsigned long long id,
236 unsigned long long context_id,
237 unsigned long long bind_id, 235 unsigned long long bind_id,
238 int thread_id, 236 int thread_id,
239 const TimeTicks& timestamp, 237 const TimeTicks& timestamp,
240 int num_args, 238 int num_args,
241 const char** arg_names, 239 const char** arg_names,
242 const unsigned char* arg_types, 240 const unsigned char* arg_types,
243 const unsigned long long* arg_values, 241 const unsigned long long* arg_values,
244 const scoped_refptr<ConvertableToTraceFormat>* convertable_values, 242 const scoped_refptr<ConvertableToTraceFormat>* convertable_values,
245 unsigned int flags); 243 unsigned int flags);
246 244
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 subtle::AtomicWord generation_; 489 subtle::AtomicWord generation_;
492 bool use_worker_thread_; 490 bool use_worker_thread_;
493 491
494 DISALLOW_COPY_AND_ASSIGN(TraceLog); 492 DISALLOW_COPY_AND_ASSIGN(TraceLog);
495 }; 493 };
496 494
497 } // namespace trace_event 495 } // namespace trace_event
498 } // namespace base 496 } // namespace base
499 497
500 #endif // BASE_TRACE_EVENT_TRACE_LOG_H_ 498 #endif // BASE_TRACE_EVENT_TRACE_LOG_H_
OLDNEW
« no previous file with comments | « base/trace_event/trace_event_impl.cc ('k') | base/trace_event/trace_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698