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

Function RecGetRecordCounter

src/records/RecCore.cc:469–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469RecErrT
470RecGetRecordCounter(const char *name, RecCounter *rec_counter, bool lock)
471{
472 RecErrT err;
473 RecData data;
474
475 if ((err = RecGetRecord_Xmalloc(name, RECD_COUNTER, &data, lock)) == REC_ERR_OKAY) {
476 *rec_counter = data.rec_counter;
477 }
478 return err;
479}
480
481RecErrT
482RecGetRecordByte(const char *name, RecByte *rec_byte, bool lock)

Callers 4

RecLinkConfigCounterFunction · 0.85
REC_readCounterFunction · 0.85
plugin_expandFunction · 0.85
TSMgmtCounterGetFunction · 0.85

Calls 1

RecGetRecord_XmallocFunction · 0.85

Tested by

no test coverage detected