Loading a trace from command-line

16 views
Skip to first unread message

Harald Servat

unread,
Feb 6, 2025, 5:43:43 PMFeb 6
to Perfetto Development - www.perfetto.dev
Hello,

  is it possible to load a (json) trace-file from command-line?

  Something like 

    C:\Program Files\Google\Chrome\Application\chrome.exe https://ui.perfetto.dev/ file://D:\data\trace.json

  Or can this be scripted somehow?

Thanks

Steve Golton

unread,
Feb 7, 2025, 6:13:48 AMFeb 7
to Harald Servat, Perfetto Development - www.perfetto.dev
There's a python script in the perfetto repository which I think will do what you want - `tools/open_trace_in_ui <trace-file>`

--
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/dce1c350-d837-4678-b806-7fc8cbed38ban%40googlegroups.com.

Harald Servat

unread,
Feb 7, 2025, 9:46:13 AMFeb 7
to Steve Golton, Perfetto Development - www.perfetto.dev
Thanks, I'll take a look at it.

Missatge de Steve Golton <steve...@google.com> del dia dv., 7 de febr. 2025 a les 12:13:


--
“While the rest of the species is descended from apes, redheads are descended from cats.”
― Mark Twain
Reply all
Reply to author
Forward
0 new messages