Support vtune profiling of trampolines too (#3687)
* Provide helpers for demangling function names * Profile trampolines in vtune too * get rid of mapping * avoid code duplication with jitdump_linux * maintain previous default display name for wasm functions * no dash, grrr * Remove unused profiling error type
This commit is contained in:
@@ -20,5 +20,13 @@ impl JitDumpAgent {
|
||||
|
||||
impl ProfilingAgent for JitDumpAgent {
|
||||
fn module_load(&self, _module: &CompiledModule, _dbg_image: Option<&[u8]>) {}
|
||||
fn trampoline_load(&self, _file: &object::File<'_>) {}
|
||||
fn load_single_trampoline(
|
||||
&self,
|
||||
_name: &str,
|
||||
_addr: *const u8,
|
||||
_size: usize,
|
||||
__pid: u32,
|
||||
_tid: u32,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user