pub trait ProfilingAgent: Send + Sync + 'static {
    fn module_load(&self, module: &CompiledModule, dbg_image: Option<&[u8]>);
fn load_single_trampoline(
        &self,
        name: &str,
        addr: *const u8,
        size: usize,
        pid: u32,
        tid: u32
    ); }
Expand description

Common interface for profiling tools.

Required methods

Notify the profiler of a new module loaded into memory

Notify the profiler about a single dynamically-generated trampoline (for host function) that is being loaded now.`

Implementors