Skip to content
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

Generated flamegraph is meaningless #135

Closed
bruwozniak opened this issue Jun 15, 2022 · 4 comments
Closed

Generated flamegraph is meaningless #135

bruwozniak opened this issue Jun 15, 2022 · 4 comments

Comments

@bruwozniak
Copy link

bruwozniak commented Jun 15, 2022

Hi, I am generating a flamegraph of a production build (with debug symbols) of a Tokio-based app running on Linux. The guard is created on main tokio fn and later moved to background thread to periodically dump the flamegraphs. Unfortunately the output of the graph is rather trivial, see:
flamegraph
Interestingly, the exact same code on macOS seems to produce more reasonable output.
Is there something I'm doing wrong? Thanks so much for any help.

@cloutiertyler
Copy link

@bruwozniak I am also seeing the same thing. Is this running in Docker by any chance?

@breezewish
Copy link
Member

It should be related with #157. Could you try again with 0.11.0 release?

@TomAFrench
Copy link

TomAFrench commented Apr 16, 2024

I was getting very similar flamegraphs to the above and removing the frame-pointer feature fixed this, so this issue can likely be closed as resolved by #172 .

@breezewish
Copy link
Member

@TomAFrench Thanks for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants