folly::mallctlRead

Reads a value from jemalloc through the named mallctl command.

Synopsis

Declared in <folly/memory/MallctlHelper.h>

template<typename T>
void
mallctlRead(
    char const* cmd,
    T* out);

Parameters

NameDescription
cmdThe mallctl command name to read.
outDestination for the value read from jemalloc.