Skip to content

Can we select scheduler tracks by sql query? #4808

@xerothermic

Description

@xerothermic

Hi,

I recent discovered the commands to "Pin slice tracks from SQL query." This is really nice, as it allows me to filter and pin a number of threads using sql filter. I wonder if we can also select the CPU scheduling event tracks somehow with this command?

In particular, I'm referring to the scheduling track like the one in the doc: https://perfetto.dev/docs/data-sources/cpu-scheduling where we can see the thread in "Running" "Runnable" state, etc.

I usually pin multiple such scheduling event tracks, and select all time range to get the schedule time breakdown view.

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