Skip to main content

mi_prof_modules_visit

Function mi_prof_modules_visit 

Source
pub unsafe extern "C" fn mi_prof_modules_visit(
    visitor: mi_prof_module_visit_fun,
    arg: *mut c_void,
) -> bool
Expand description

Structured module (mapping) enumeration, e.g. to build pprof Mapping entries yourself. No profiler lock is taken: module lists are OS-owned, not part of the sampled-allocation table. info (and info->path) are valid only for the duration of the callback.