MCPcopy Create free account
hub / github.com/apache/impala / AddTraceEventWithThreadIdAndTimestamp

Function AddTraceEventWithThreadIdAndTimestamp

be/src/kudu/util/debug/trace_event.h:1164–1180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1162// the arg_values must live throughout these procedures.
1163
1164static inline kudu::debug::TraceEventHandle
1165AddTraceEventWithThreadIdAndTimestamp(
1166 char phase,
1167 const unsigned char* category_group_enabled,
1168 const char* name,
1169 uint64_t id,
1170 int thread_id,
1171 const MicrosecondsInt64& timestamp,
1172 unsigned char flags,
1173 const char* arg1_name,
1174 const scoped_refptr<kudu::debug::ConvertableToTraceFormat>& arg1_val) {
1175 const int num_args = 1;
1176 unsigned char arg_types[1] = { TRACE_VALUE_TYPE_CONVERTABLE };
1177 return TRACE_EVENT_API_ADD_TRACE_EVENT_WITH_THREAD_ID_AND_TIMESTAMP(
1178 phase, category_group_enabled, name, id, thread_id, timestamp,
1179 num_args, &arg1_name, arg_types, NULL, &arg1_val, flags);
1180}
1181
1182template<class ARG1_TYPE>
1183static inline kudu::debug::TraceEventHandle

Callers 2

AddTraceEventMethod · 0.85
AddTraceEventFunction · 0.85

Calls 1

SetTraceValueFunction · 0.85

Tested by

no test coverage detected