MCPcopy Create free account
hub / github.com/ElementsProject/lightning / trace_span_find

Function trace_span_find

common/trace.c:244–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242static size_t trace_key(const void *key) { return (size_t)key; }
243
244static struct span *trace_span_find(size_t key)
245{
246 return span_htable_get(spans, key);
247}
248
249/**
250 * Find an empty slot for a new span.

Callers 6

trace_span_start_Function · 0.85
trace_span_endFunction · 0.85
trace_span_tagFunction · 0.85
trace_span_suspend_Function · 0.85
destroy_trace_spanFunction · 0.85
trace_span_resume_Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected