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§
Sourcefn module_load(
&self,
module: &Module,
functions: &PrimaryMap<DefinedFuncIndex, *mut [VMFunctionBody]>,
dbg_image: Option<&[u8]>,
)
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