| Index: base/debug/trace_event_impl.h
|
| diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h
|
| index 33e782c04a57455562630ec196236617c846c4d8..d07f635073b031e3ce10279bd4de2c44b6277c15 100644
|
| --- a/base/debug/trace_event_impl.h
|
| +++ b/base/debug/trace_event_impl.h
|
| @@ -280,6 +280,18 @@ class BASE_EXPORT TraceLog {
|
| const char* name,
|
| const void* id,
|
| const std::string& extra);
|
| + int AddTraceEventExplicit(char phase,
|
| + const unsigned char* category_enabled,
|
| + const char* name,
|
| + int64 timestamp,
|
| + unsigned long long id,
|
| + int num_args,
|
| + const char** arg_names,
|
| + const unsigned char* arg_types,
|
| + const unsigned long long* arg_values,
|
| + int threshold_begin_id,
|
| + long long threshold,
|
| + unsigned char flags);
|
|
|
| // For every matching event, a notification will be fired. NOTE: the
|
| // notification will fire for each matching event that has already occurred
|
| @@ -366,6 +378,20 @@ class BASE_EXPORT TraceLog {
|
| static void ApplyATraceEnabledFlag(unsigned char* category_enabled);
|
| #endif
|
|
|
| + int AddTraceEventInternal(NotificationHelper& notifier,
|
| + TimeTicks timestamp,
|
| + char phase,
|
| + const unsigned char* category_enabled,
|
| + const char* name,
|
| + unsigned long long id,
|
| + int num_args,
|
| + const char** arg_names,
|
| + const unsigned char* arg_types,
|
| + const unsigned long long* arg_values,
|
| + int threshold_begin_id,
|
| + long long threshold,
|
| + unsigned char flags);
|
| +
|
| // TODO(nduca): switch to per-thread trace buffers to reduce thread
|
| // synchronization.
|
| // This lock protects TraceLog member accesses from arbitrary threads.
|
|
|