Trait wasmtime_jit::profiling::ProfilingAgent
source · pub trait ProfilingAgent: Send + Sync + 'static {
// Required method
fn register_function(&self, name: &str, addr: *const u8, size: usize);
// Provided method
fn register_module(
&self,
code: &CodeMemory,
custom_name: &dyn Fn(usize) -> Option<String>
) { ... }
}
Expand description
Common interface for profiling tools.