Trait wasmtime_jit::ProfilingAgent [−][src]
pub trait ProfilingAgent: Send + Sync + 'static {
fn module_load(&self, module: &CompiledModule, dbg_image: Option<&[u8]>);
fn trampoline_load(&self, file: &File<'_>);
}
Expand description
Common interface for profiling tools.
Required methods
fn module_load(&self, module: &CompiledModule, dbg_image: Option<&[u8]>)
fn module_load(&self, module: &CompiledModule, dbg_image: Option<&[u8]>)
Notify the profiler of a new module loaded into memory
fn trampoline_load(&self, file: &File<'_>)
fn trampoline_load(&self, file: &File<'_>)
Notify the profiler that the object file provided contains dynamically-generated trampolines which are now being loaded.