Skip to content

No blocked threads in CPU profile #472

@kpamnany

Description

@kpamnany

A recent CPU profile we gathered did not include any information on 2 of the threads. We assume this is because the threads were blocked. It would be very helpful if ddprof could also produce so-called "off-CPU" profiles [1]. The approach is to track perf sched_switch events and use eBPF stack trace support, as Brendan Gregg describes in a few articles.

Is anything like this planned?

  1. https://www.brendangregg.com/offcpuanalysis.html

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