Skip to content

Commit 60606fe

Browse files
MaaarcocrYangKeao
andauthored
Add support for framehop as unwinder (#267)
* Add framehow as an unwinder and support perfmaps perfmaps are reloaded on demand in a bg thread Signed-off-by: Marco Concetto Rudilosso <[email protected]> * fix cargo fmt Signed-off-by: Marco Concetto Rudilosso <[email protected]> --------- Signed-off-by: Marco Concetto Rudilosso <[email protected]> Signed-off-by: Yang Keao <[email protected]> Co-authored-by: Yang Keao <[email protected]>
1 parent 1c71e74 commit 60606fe

File tree

8 files changed

+554
-18
lines changed

8 files changed

+554
-18
lines changed

Cargo.lock

Lines changed: 144 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ frame-pointer = []
2020
_protobuf = []
2121
prost-codec = ["prost", "prost-derive", "prost-build", "sha2", "_protobuf"]
2222
protobuf-codec = ["protobuf", "protobuf-codegen", "_protobuf"]
23+
framehop-unwinder = ["framehop", "memmap2", "object"]
24+
perfmaps = ["arc-swap"]
25+
large-depth = []
26+
huge-depth = []
2327

2428
[dependencies]
2529
backtrace = { version = "0.3" }
@@ -41,6 +45,12 @@ protobuf = { version = ">=3.7.2", optional = true }
4145
criterion = {version = "0.5", optional = true}
4246
aligned-vec = "0.6"
4347

48+
# framehop unwinder dependencies
49+
framehop = { version = "0.13", optional = true }
50+
memmap2 = { version = "0.5.5", optional = true }
51+
object = { version = "0.29.0", optional = true }
52+
arc-swap = { version = "1.7.1", optional = true }
53+
4454
[dependencies.symbolic-demangle]
4555
version = "12.1"
4656
default-features = false

0 commit comments

Comments
 (0)