Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand the post message API to support automatically expanding track groups #748

Open
kenzieschmoll opened this issue Mar 26, 2024 · 0 comments

Comments

@kenzieschmoll
Copy link
Member

Some notes from an offline discussion between @stevegolton and myself.

We can add a field 'expandAllTrackGroups' to the post trace interface, and when true, loop through all groups and call this: https://github.com/google/perfetto/blob/main/ui/src/common/actions.ts#L396. Just like here: https://github.com/google/perfetto/blob/main/ui/src/common/plugins.ts#L265

There's also a command to expand all groups which you can call programmatically using: globals.commandManager.runCommand('dev.perfetto.CoreCommands#ExpandAllGroups'), but we might run into races between plugins registering commands and postMessage handler getting run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant