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

Malformed flame graph when importing delta heap profile from Go #3616

Open
kolesnikovae opened this issue Oct 8, 2024 · 0 comments · May be fixed by #3627
Open

Malformed flame graph when importing delta heap profile from Go #3616

kolesnikovae opened this issue Oct 8, 2024 · 0 comments · May be fixed by #3627
Labels
type/bug Something isn't working

Comments

@kolesnikovae
Copy link
Collaborator

It has been reported that importing a delta heap profile from Go in the ad-hoc view results in a malformed flame graph. It’s worth noting that the pprof tool does not handle this properly either. Apparently, samples with negative values are not sanitized.

A delta profile can be collected using the standard Go pprof HTTP endpoint:

curl http://127.0.0.1:12345/debug/pprof/heap?seconds=30 > heap.pprof

The issue affects inuse_* samples the most.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
1 participant