MCPcopy Create free account
hub / github.com/apache/trafficserver / RecSetDiags

Function RecSetDiags

src/records/RecDebug.cc:32–39  ·  view source on GitHub ↗

------------------------------------------------------------------------- RecSetDiags -------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

30// RecSetDiags
31//-------------------------------------------------------------------------
32int
33RecSetDiags(Diags *_diags)
34{
35 // Warning! It's very dangerous to change diags on the fly! This
36 // function only exists so that we can boot-strap TM on startup.
37 ink_atomic_swap(&g_diags, _diags);
38 return REC_ERR_OKAY;
39}
40
41//-------------------------------------------------------------------------
42// RecLog

Callers 2

RecCoreInitFunction · 0.85
mainFunction · 0.85

Calls 1

ink_atomic_swapFunction · 0.85

Tested by

no test coverage detected