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:
Benjamin Bouvier
2022-01-19 16:49:23 +01:00
committed by GitHub
parent 2afd6900f4
commit 2649d2352c
13 changed files with 191 additions and 141 deletions

3
Cargo.lock generated
View File

@@ -3339,7 +3339,6 @@ dependencies = [
"backtrace",
"bincode",
"cfg-if 1.0.0",
"cpp_demangle",
"indexmap",
"lazy_static",
"libc",
@@ -3349,7 +3348,6 @@ dependencies = [
"psm",
"rayon",
"region",
"rustc-demangle",
"serde",
"target-lexicon",
"tempfile",
@@ -3563,6 +3561,7 @@ dependencies = [
"cpp_demangle",
"gimli",
"ittapi-rs",
"log",
"object",
"region",
"rustc-demangle",