Filtering to view only 1 thread in the UI

15 views
Skip to first unread message

Jon Lui

unread,
Dec 18, 2024, 10:19:34 PM12/18/24
to Perfetto Development - www.perfetto.dev
Hi all,

When i hover the mouse over to the target thread, every other threads will be greyed out. I would like to somehow apply a filter to remove the greyed out threads to make it more presentable. How do i achieve this? I can pull the data via SQL but i think it is not as nice as a graphical representation.

Lalit Maganti

unread,
Dec 18, 2024, 10:35:48 PM12/18/24
to Jon Lui, Perfetto Development - www.perfetto.dev
From what I understand, you are looking for a way to show the scheduling for a single thread without looking at the scheduling for all other threads. The direct solution you ask for is currently not supported. However, creating good primitives for filtering traces is something which is on our roadmap so we may add something in this direction in the future.

However, even today you can sort of emulate what you are looking for with debug tracks (https://perfetto.dev/docs/analysis/debug-tracks). It's not going to be as nice an experience but if you are just looking for drawing arbitrary rectangles on a track, it should do the job.

On Thu, 19 Dec 2024 at 03:19, Jon Lui <write2...@gmail.com> wrote:
Hi all,

When i hover the mouse over to the target thread, every other threads will be greyed out. I would like to somehow apply a filter to remove the greyed out threads to make it more presentable. How do i achieve this? I can pull the data via SQL but i think it is not as nice as a graphical representation.

--
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 visit https://groups.google.com/d/msgid/perfetto-dev/209e595d-c031-422b-b1af-d36111c6447bn%40googlegroups.com.

Jon

unread,
Dec 20, 2024, 9:00:54 AM12/20/24
to Lalit Maganti, Development www.perfetto.dev Perfetto
Thanks, I think I can try working with the debug tracks. 

Jon

On Dec 19, 2024, at 11:35, Lalit Maganti <lal...@google.com> wrote:


Reply all
Reply to author
Forward
0 new messages