grafana / pyroscope-rs

Pyroscope Profiler for Rust. Profile your Rust applications.
Apache License 2.0
132 stars 22 forks source link

Fixed crashed rust example on M1 MacOS #90

Closed hi-rustin closed 1 year ago

hi-rustin commented 1 year ago

Try to test async example on my MacBook Pro. When I try to get the profile, it crashed. I think this is an issue from pprof-rs.

So I just fix it by using Platform specific dependencies

See more at: https://github.com/tikv/pprof-rs/issues/131

Before fix:

     Running `target/debug/examples/multi-thread-report`
Start Time: 1679209309
[1]    13989 trace trap  cargo run --example multi-thread-report
korniltsev commented 1 year ago

We will need you ti sign CLA before we merge it. We will add CLA assistant to this repo soon.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.