Skip to content

runtime/pprof: Blocking profile does not profile select statements #6049

@DanielMorsing

Description

@DanielMorsing
The blocking profile doesn't profile select statements. If you have a program that does
a lot of blocking inside selects, the profile will be near empty.

Optimally, the profile would be written for the location of the case eventually taken,
but that might be difficult to do since select overwrites the caller pc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions