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

godeltaprof: increase stack depth #113

Open
korniltsev opened this issue Jun 4, 2024 · 1 comment
Open

godeltaprof: increase stack depth #113

korniltsev opened this issue Jun 4, 2024 · 1 comment

Comments

@korniltsev
Copy link
Collaborator

With this change memory/mutex profiles stack depth is increased to 128.

Unfortunately, this does not affect runtime.MemProfile and runtime.MutexProfile , these APIs still return truncated stacks. It looks like there were some attempts to fix them, however they did not make it to the final patchset.

Even more unfortunately, but it looks like there is no other way but to link into blockProfileInternal memProfileInternal which is not great, especially in the light of golang/go#67401

@korniltsev
Copy link
Collaborator Author

Looks like there will be no public API golang/go#67941
We may consider to link into blockProfileInternal and co.

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

1 participant