Home
last modified time | relevance | path

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

/external/pigweed/pw_trace_tokenized/
Dtrace.cc175 void* user_data = sink_callbacks_[sink_idx].user_data; in CallSinks()
176 if (sink_callbacks_[sink_idx].start_block) { in CallSinks()
177 sink_callbacks_[sink_idx].start_block(user_data, in CallSinks()
180 if (sink_callbacks_[sink_idx].add_bytes) { in CallSinks()
181 sink_callbacks_[sink_idx].add_bytes( in CallSinks()
184 sink_callbacks_[sink_idx].add_bytes( in CallSinks()
188 if (sink_callbacks_[sink_idx].end_block) { in CallSinks()
189 sink_callbacks_[sink_idx].end_block(user_data); in CallSinks()
203 sink_callbacks_[sink_idx].start_block = start_func; in RegisterSink()
204 sink_callbacks_[sink_idx].add_bytes = add_bytes_func; in RegisterSink()
[all …]
/external/pigweed/pw_trace_tokenized/public/pw_trace_tokenized/
Dtrace_callback.h184 SinkCallbacks sink_callbacks_[PW_TRACE_CONFIG_MAX_SINKS]; variable
188 return sink_callbacks_[handle].start_block == nullptr && in IsSinkFree()
189 sink_callbacks_[handle].add_bytes == nullptr && in IsSinkFree()
190 sink_callbacks_[handle].end_block == nullptr; in IsSinkFree()