Skip to content

Bring back printing reason with -print-allocs #5355

@applejag

Description

@applejag

The -print-allocs flag is super useful when finding out allocations, especially when it printed the reason, to understand why something got pushed to the heap

But in #5220 you removed the printing of the reason why something is moved to the heap.

That PR brought in the very nice feature of showing the output using the Go coverage tool. Very cool!

But I'd still want to see the reason behind each heap allocation.

Could you bring back printing of the reason? Maybe as a separate flag?

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