Lines Matching refs:TraceEvent
45 ChannelTrace::TraceEvent::TraceEvent(Severity severity, const grpc_slice& data, in TraceEvent() function in grpc_core::channelz::ChannelTrace::TraceEvent
53 memory_usage_(sizeof(TraceEvent) + grpc_slice_memory_usage(data)) {} in TraceEvent()
55 ChannelTrace::TraceEvent::TraceEvent(Severity severity, const grpc_slice& data) in TraceEvent() function in grpc_core::channelz::ChannelTrace::TraceEvent
61 memory_usage_(sizeof(TraceEvent) + grpc_slice_memory_usage(data)) {} in TraceEvent()
63 ChannelTrace::TraceEvent::~TraceEvent() { grpc_slice_unref_internal(data_); } in ~TraceEvent()
83 TraceEvent* it = head_trace_; in ~ChannelTrace()
85 TraceEvent* to_free = it; in ~ChannelTrace()
92 void ChannelTrace::AddTraceEventHelper(TraceEvent* new_trace_event) { in AddTraceEventHelper()
106 TraceEvent* to_free = head_trace_; in AddTraceEventHelper()
118 AddTraceEventHelper(new TraceEvent(severity, data)); in AddTraceEvent()
130 new TraceEvent(severity, data, std::move(referenced_entity))); in AddTraceEventWithReference()
150 Json ChannelTrace::TraceEvent::RenderTraceEvent() const { in RenderTraceEvent()
184 for (TraceEvent* it = head_trace_; it != nullptr; it = it->next()) { in RenderJson()