-
Notifications
You must be signed in to change notification settings - Fork 323
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
TrackEvent: Async thread tracks don't get grouped like async process tracks in the UI #321
Comments
I have so much daja-vu about this ...I could have sworn we've fixed async slice grouping like three times already :P At this point if someone comes with:
|
Thanks a lot for the reply! Trace
ScreenShotsome annotations showing how they want it to look insteadThe two tracks should be merged vertically. If you remove the
merging occurs: We would like a similar behavior even when packet use threads |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From discussion around #60 (comment)
It seems that two or more (async) child tracks of a thread track don't get grouped into a single vertical track in the Perfetto UI, even when they share the same name. For child tracks of process tracks, vertical merging does happen.
I imagine this should be reproducible via the SDK as well, e.g. with something like this (untested):
I believe, currently, such child tracks are imported as thread tracks in trace processor (code. I wonder if the collapsing/merging logic is only enabed for process tracks, not thread tracks, in the UI? Is there a reason for this / can we also extend it to thread tracks (e.g. those which share a name, possibly where track name != thread name)? :)
The text was updated successfully, but these errors were encountered: