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

Function trace_span_resume_

common/trace.c:464–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464void trace_span_resume_(const void *key, const char *lbl)
465{
466 if (disable_trace)
467 return;
468
469 size_t numkey = trace_key(key);
470 current = trace_span_find(numkey);
471 assert(current->suspended);
472 current->suspended = false;
473 TRACE_DBG("Resuming span %s (%zu)\n", current->name, current->key);
474 DTRACE_PROBE1(lightningd, span_resume, current->id);
475 if (trace_to_file) {
476 fprintf(trace_to_file, "span_resume %016" PRIx64 "\n",
477 current->id);
478 fflush(trace_to_file);
479 }
480}
481
482void trace_cleanup(void)
483{

Callers

nothing calls this directly

Calls 2

trace_keyFunction · 0.85
trace_span_findFunction · 0.85

Tested by

no test coverage detected