Skip to content

godeltaprof: increase stack depth #113

Open
@korniltsev

Description

@korniltsev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions