Home
last modified time | relevance | path

Searched refs:sink_callbacks_ (Results 1 – 2 of 2) sorted by relevance

/external/pigweed/pw_trace_tokenized/
Dtrace.cc165 void* user_data = sink_callbacks_[sink_idx].user_data; in CallSinks()
166 if (sink_callbacks_[sink_idx].start_block) { in CallSinks()
167 sink_callbacks_[sink_idx].start_block(user_data, in CallSinks()
170 if (sink_callbacks_[sink_idx].add_bytes) { in CallSinks()
171 sink_callbacks_[sink_idx].add_bytes( in CallSinks()
174 sink_callbacks_[sink_idx].add_bytes( in CallSinks()
178 if (sink_callbacks_[sink_idx].end_block) { in CallSinks()
179 sink_callbacks_[sink_idx].end_block(user_data); in CallSinks()
193 sink_callbacks_[sink_idx].start_block = start_func; in RegisterSink()
194 sink_callbacks_[sink_idx].add_bytes = add_bytes_func; in RegisterSink()
[all …]
/external/pigweed/pw_trace_tokenized/public/pw_trace_tokenized/
Dtrace_callback.h173 SinkCallbacks sink_callbacks_[PW_TRACE_CONFIG_MAX_SINKS]; variable
177 return sink_callbacks_[handle].start_block == nullptr && in IsSinkFree()
178 sink_callbacks_[handle].add_bytes == nullptr && in IsSinkFree()
179 sink_callbacks_[handle].end_block == nullptr; in IsSinkFree()