ProfilingAgent

Trait ProfilingAgent 

Source
pub trait ProfilingAgent:
    Send
    + Sync
    + 'static {
    // Required method
    fn module_load(
        &self,
        module: &Module,
        functions: &PrimaryMap<DefinedFuncIndex, *mut [VMFunctionBody]>,
        dbg_image: Option<&[u8]>,
    );
}
Expand description

Common interface for profiling tools.

Required Methods§

Source

fn module_load( &self, module: &Module, functions: &PrimaryMap<DefinedFuncIndex, *mut [VMFunctionBody]>, dbg_image: Option<&[u8]>, )

Notify the profiler of a new module loaded into memory

Implementors§