Lines Matching refs:trace_event

53     Singleton<trace_event::TraceLog,  in Delete()
54 LeakySingletonTraits<trace_event::TraceLog>>::OnExit(0); in Delete()
60 namespace trace_event { namespace
122 void InitializeMetadataEvent(TraceEvent* trace_event, in InitializeMetadataEvent() argument
127 if (!trace_event) in InitializeMetadataEvent()
134 trace_event->Initialize( in InitializeMetadataEvent()
297 TraceEvent* trace_event = chunk_->AddTraceEvent(&event_index); in AddTraceEvent() local
298 if (trace_event && handle) in AddTraceEvent()
301 return trace_event; in AddTraceEvent()
459 if (base::trace_event::TraceEventETWExport::IsCategoryGroupEnabled( in UpdateCategoryGroupEnabledFlag()
783 TraceEvent* trace_event = thread_shared_chunk_->AddTraceEvent(&event_index); in AddEventToThreadSharedChunkWhileLocked() local
784 if (trace_event && handle) { in AddEventToThreadSharedChunkWhileLocked()
788 return trace_event; in AddEventToThreadSharedChunkWhileLocked()
1260 TraceEvent* trace_event = NULL; in AddTraceEventWithThreadIdAndTimestamp() local
1262 trace_event = thread_local_event_buffer->AddTraceEvent(&handle); in AddTraceEventWithThreadIdAndTimestamp()
1265 trace_event = AddEventToThreadSharedChunkWhileLocked(&handle, true); in AddTraceEventWithThreadIdAndTimestamp()
1268 if (trace_event) { in AddTraceEventWithThreadIdAndTimestamp()
1269 trace_event->Initialize(thread_id, in AddTraceEventWithThreadIdAndTimestamp()
1285 trace_event->SendToATrace(); in AddTraceEventWithThreadIdAndTimestamp()
1292 timestamp, trace_event); in AddTraceEventWithThreadIdAndTimestamp()
1326 if (base::trace_event::AllocationContextTracker::capture_enabled()) { in AddTraceEventWithThreadIdAndTimestamp()
1328 base::trace_event::AllocationContextTracker::PushPseudoStackFrame(name); in AddTraceEventWithThreadIdAndTimestamp()
1332 base::trace_event::AllocationContextTracker::PopPseudoStackFrame(name); in AddTraceEventWithThreadIdAndTimestamp()
1346 scoped_ptr<TraceEvent> trace_event(new TraceEvent); in AddMetadataEvent() local
1348 trace_event->Initialize( in AddMetadataEvent()
1355 metadata_events_.push_back(std::move(trace_event)); in AddMetadataEvent()
1362 TraceEvent* trace_event) { in EventToConsoleMessage() argument
1371 trace_event ? trace_event->thread_id() : PlatformThread::CurrentId(); in EventToConsoleMessage()
1393 if (trace_event) in EventToConsoleMessage()
1394 trace_event->AppendPrettyPrinted(&log); in EventToConsoleMessage()
1435 TraceEvent* trace_event = GetEventByHandleInternal(handle, &lock); in UpdateTraceEventDuration() local
1436 if (trace_event) { in UpdateTraceEventDuration()
1437 DCHECK(trace_event->phase() == TRACE_EVENT_PHASE_COMPLETE); in UpdateTraceEventDuration()
1438 trace_event->UpdateDuration(now, thread_now); in UpdateTraceEventDuration()
1440 trace_event->SendToATrace(); in UpdateTraceEventDuration()
1446 EventToConsoleMessage(TRACE_EVENT_PHASE_END, now, trace_event); in UpdateTraceEventDuration()
1449 if (base::trace_event::AllocationContextTracker::capture_enabled()) { in UpdateTraceEventDuration()
1451 base::trace_event::AllocationContextTracker::PopPseudoStackFrame(name); in UpdateTraceEventDuration()
1579 TraceEvent* trace_event = in GetEventByHandleInternal() local
1581 if (trace_event) in GetEventByHandleInternal()
1582 return trace_event; in GetEventByHandleInternal()
1687 if (base::trace_event::TraceEventETWExport::IsCategoryGroupEnabled( in UpdateETWCategoryGroupEnabledFlags()