Skip to content

Use different shading for off-cpu self time in the flame graph #5896

@mstange

Description

@mstange

Each box in the flame graph currently has two pieces:

  • The "non-self" piece, where there are callee boxes stack on top.
  • The "self" piece, representing a call node's self samples.

The "self" piece is always on the right.

Once we know which samples are on-cpu samples and which samples are off-cpu samples, we can split the "self" piece into two sub-pieces:

  • The "on-CPU self" piece
  • The "off-CPU self" piece

And then we can shade the off-CPU self piece differently, for example give it less opacity.

┆Issue is synchronized with this Jira Task

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