"Live"/real-time visualization in Perfetto?

600 views
Skip to first unread message

Frederico Xavier

unread,
Jun 23, 2021, 11:06:53 AM6/23/21
to Perfetto Development - www.perfetto.dev
Hello!
I am a software developer working for Matrox Imaging (Matrox | Imaging & Video hardware & software solutions)
We are currently using Perfetto to trace image acquisition drivers running on windows/Linux. (the driver writes json trace files which are openable in perfetto).

I wonder (maybe a dumb question...) → is there some sort of "real-time visualization" feature in Perfetto (i.e. render the events live)?

Thanks in advance and congratulations on this amazing tool!

FX

Primiano Tucci

unread,
Jun 23, 2021, 12:52:36 PM6/23/21
to Frederico Xavier, Perfetto Development - www.perfetto.dev
Hi Federico,

> I am a software developer working for Matrox Imaging (Matrox | Imaging & Video hardware & software solutions)

 Uh yes I am very familiar. Frankly I don't know a single person who didn't had a G400 at some point in their youth :D

>I wonder (maybe a dumb question...) → is there some sort of "real-time visualization" feature in Perfetto (i.e. render the events live)?

Ah it's a good question really.
This is the state:
- At the protocol level (i.e. if you use perfetto to record data or inject trace events via the SDK) you can pull the data periodically, even every seconds, while the trace is still running (so the underlying support it's there)
- However at the trace-processor and UI level, that's not supported. It's something that we want to do at some point, but not anytime soon because so many other features need to happen before that.

Hope it answers your question (was not dumb at all).

Regards,
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/46591c79-4ca7-49f6-9b49-76d2e1930ae0n%40googlegroups.com.


--
Primiano Tucci
Software Engineer
Google UK Limited

Reply all
Reply to author
Forward
0 new messages