-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flamegraph throws error when attempting to profile Rust application #293
Comments
I'm guessing dynamic linking fails because the libonnxruntime library isn't available while running in a I'm assuming you're on macOS, I'd recommend trying samply instead of flamegraph since the dtrace backend on macOS has generally not been that great. |
Actually, I had mentioned in my original post that I already tried samply as well. 🙂 I received a similar result with both profilers. |
Ah, sorry -- missed that. Anyway, my other point stands, and might apply to samply as well if you're using |
I'm having a similar issue. Was wondering whether |
Sounds reasonable to me, want to submit a PR? |
Summary
I'm using CoreML with the ONNX runtime (
ort
crate) to run inference against a machine learning model.I want to use flamegraph to find out where performance limitations might be occurring. My objective is to optimize my program for speed, and remove any unnecessary code.
After installing flamegraph, I tried running it and immediately received an error.
This error is blocking me from making any progress with flamegraph.
I also tried samply, but received a similar result.
Hence, I don't believe this problem is necessarily specific to only flamegraph.
Actual Result
When I run
flamegraph
against my program, I get the following error:Expected Result
I expected flamegraph to profile my code and generate an SVG file.
The text was updated successfully, but these errors were encountered: