[][src]Trait wasmtime_profiling::ProfilingAgent

pub trait ProfilingAgent {
    fn module_load(
        &mut self,
        module_name: &str,
        addr: *const u8,
        len: usize,
        dbg_image: Option<&[u8]>
    ); }

Common interface for profiling tools.

Required methods

fn module_load(
    &mut self,
    module_name: &str,
    addr: *const u8,
    len: usize,
    dbg_image: Option<&[u8]>
)

Notify the profiler of a new module loaded into memory

Loading content...

Implementors

impl ProfilingAgent for NullProfilerAgent[src]

Loading content...