• Home
  • Raw
  • Download

Lines Matching refs:trace_event

60 namespace trace_event {  namespace
102 void InitializeMetadataEvent(TraceEvent* trace_event, in InitializeMetadataEvent() argument
107 if (!trace_event) in InitializeMetadataEvent()
114 trace_event->Initialize( in InitializeMetadataEvent()
291 TraceEvent* trace_event = chunk_->AddTraceEvent(&event_index); in AddTraceEvent() local
292 if (trace_event && handle) in AddTraceEvent()
295 return trace_event; in AddTraceEvent()
488 if (base::trace_event::TraceEventETWExport::IsCategoryGroupEnabled( in UpdateCategoryState()
808 TraceEvent* trace_event = thread_shared_chunk_->AddTraceEvent(&event_index); in AddEventToThreadSharedChunkWhileLocked() local
809 if (trace_event && handle) { in AddEventToThreadSharedChunkWhileLocked()
813 return trace_event; in AddEventToThreadSharedChunkWhileLocked()
1306 TraceEvent* trace_event = nullptr; in AddTraceEventWithThreadIdAndTimestamp() local
1308 trace_event = thread_local_event_buffer->AddTraceEvent(&handle); in AddTraceEventWithThreadIdAndTimestamp()
1311 trace_event = AddEventToThreadSharedChunkWhileLocked(&handle, true); in AddTraceEventWithThreadIdAndTimestamp()
1314 if (trace_event) { in AddTraceEventWithThreadIdAndTimestamp()
1316 trace_event->MoveFrom(std::move(filtered_trace_event)); in AddTraceEventWithThreadIdAndTimestamp()
1318 trace_event->Initialize(thread_id, offset_event_timestamp, thread_now, in AddTraceEventWithThreadIdAndTimestamp()
1325 trace_event->SendToATrace(); in AddTraceEventWithThreadIdAndTimestamp()
1332 timestamp, trace_event); in AddTraceEventWithThreadIdAndTimestamp()
1352 std::unique_ptr<TraceEvent> trace_event(new TraceEvent); in AddMetadataEvent() local
1357 trace_event->Initialize( in AddMetadataEvent()
1364 metadata_events_.push_back(std::move(trace_event)); in AddMetadataEvent()
1371 TraceEvent* trace_event) { in EventToConsoleMessage() argument
1381 trace_event ? trace_event->thread_id() : PlatformThread::CurrentId(); in EventToConsoleMessage()
1405 if (trace_event) in EventToConsoleMessage()
1406 trace_event->AppendPrettyPrinted(&log); in EventToConsoleMessage()
1488 TraceEvent* trace_event = GetEventByHandleInternal(handle, &lock); in UpdateTraceEventDurationExplicit() local
1489 if (trace_event) { in UpdateTraceEventDurationExplicit()
1490 DCHECK(trace_event->phase() == TRACE_EVENT_PHASE_COMPLETE); in UpdateTraceEventDurationExplicit()
1492 if (trace_event->duration().ToInternalValue() != -1) { in UpdateTraceEventDurationExplicit()
1498 trace_event->AppendAsJSON(&serialized_event, ArgumentFilterPredicate()); in UpdateTraceEventDurationExplicit()
1503 trace_event->UpdateDuration(now, thread_now); in UpdateTraceEventDurationExplicit()
1505 trace_event->SendToATrace(); in UpdateTraceEventDurationExplicit()
1511 EventToConsoleMessage(TRACE_EVENT_PHASE_END, now, trace_event); in UpdateTraceEventDurationExplicit()
1620 TraceEvent* trace_event = in GetEventByHandleInternal() local
1622 if (trace_event) in GetEventByHandleInternal()
1623 return trace_event; in GetEventByHandleInternal()
1713 if (base::trace_event::TraceEventETWExport::IsCategoryGroupEnabled( in UpdateETWCategoryGroupEnabledFlags()