Is the metadata event 'thread_sort_index' supported?

197 views
Skip to first unread message

Itay Chamiel

unread,
Apr 12, 2022, 1:35:13 PM4/12/22
to Perfetto Development - www.perfetto.dev
Hi, in our system we generate TraceEvent compliant JSON files then view them using chrome://tracing. We display the threads in a certain order using the metadata event 'thread_sort_index', but while it works in the current chrome://tracing it seems to have no effect in Perfetto. Other events (such as process_name and thread_name) work fine. Is this event supported?

Thank you,

Itay

Lalit Maganti

unread,
Apr 12, 2022, 1:49:14 PM4/12/22
to Itay Chamiel, Perfetto Development - www.perfetto.dev
Hi Itay,

No this feature is not supported nor is there any plans to support this within trace processor or the Perfetto UI.

Thanks,
Lalit

--
You received this message because you are subscribed to the Google Groups "Perfetto Development - www.perfetto.dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to perfetto-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/perfetto-dev/436d27b5-c074-4bc6-aeec-7f8a481a5c4fn%40googlegroups.com.

Primiano Tucci

unread,
Apr 12, 2022, 1:57:11 PM4/12/22
to Itay Chamiel, Perfetto Development - www.perfetto.dev
Hi Itay,
No, that event is not supported and likely will stay such.
Over time people came up with more complex sorting requirements (see track_decider.ts) that made that unnecessary.

At some point we'll have some options in the UI to provide custom sorting rules. But for now there is no good option sorry.

Primiano

--
You received this message because you are subscribed to the Google Groups "Perfetto Development - www.perfetto.dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to perfetto-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/perfetto-dev/436d27b5-c074-4bc6-aeec-7f8a481a5c4fn%40googlegroups.com.


--
Primiano Tucci
Software Engineer
Google UK Limited

Reply all
Reply to author
Forward
0 new messages