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

Method deactivate_all

src/tscore/Diags.cc:384–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382//////////////////////////////////////////////////////////////////////////////
383
384void
385Diags::deactivate_all(DiagsTagType mode)
386{
387 lock();
388 if (activated_tags[mode]) {
389 delete activated_tags[mode];
390 activated_tags[mode] = nullptr;
391 }
392 unlock();
393 if ((DiagsTagType_Debug == mode) && (this == diags())) {
394 DbgCtl::update([&](const char *tag) -> bool { return tag_activated(tag, DiagsTagType_Debug); });
395 }
396}
397
398//////////////////////////////////////////////////////////////////////////////
399//

Callers 3

reconfigure_diagsFunction · 0.80
reconfigure_diagsMethod · 0.80

Calls 4

lockFunction · 0.85
unlockFunction · 0.85
diagsFunction · 0.85
updateFunction · 0.85

Tested by

no test coverage detected