mz_prof_http::enabled

Function require_profiling_activated

Source
fn require_profiling_activated(
    prof_ctl: &JemallocProfCtl,
) -> Result<(), (StatusCode, String)>
Expand description

Checks whether jemalloc profiling is activated an returns an error response if not.