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

Notify the profiler of a new module loaded into memory

Notify the profiler that the object file provided contains dynamically-generated trampolines which are now being loaded.

Implementors