Capturing V8 traces in Android Systrace !

34 views
Skip to first unread message

soh...@chromium.org

unread,
May 20, 2019, 11:07:24 AM5/20/19
to v8-dev
Hi,

Is it possible to capture V8 traces via Android Systraces https://developer.android.com/studio/profile/systrace/command-line.
https://v8.dev/docs/trace doesnt explain in much detail for the system level tracing.

Thanks,
Sohan

Yang Guo

unread,
May 31, 2019, 7:31:20 AM5/31/19
to v8-...@googlegroups.com, Sami Kyostila, Primiano Tucci
V8 is currently adopting Perfetto, so it should be at some point easy to feed into Android systrace, iiuc. Adding Primiano and Sami for details :)

Yang

--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/fe355271-79c9-45f0-be71-42129e729e21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Primiano Tucci

unread,
May 31, 2019, 8:11:08 AM5/31/19
to Yang Guo, v8-...@googlegroups.com, Sami Kyostila
What Yang said. It's not possible right now but will be possible quite soon as V8 switches to the new perfetto client library. That has code that will enable v8 to stream events into the systrace daemon and get combined system+v8 traces together.
There's lot of work that is going into this as we speak.
--
Primiano Tucci
Software Engineer
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ

Sohan Jyoti Ghosh

unread,
Jun 3, 2019, 4:56:16 AM6/3/19
to v8-...@googlegroups.com, Yang Guo, Sami Kyostila
Thanks for the information. Looking forward for the changes to land.

Thanks,
Sohan

You received this message because you are subscribed to a topic in the Google Groups "v8-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-dev/xs0gxw0PmS0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CA%2ByH71eW-iPG2TtAHdzO2gb8e7G_N4JrU4NWXPHYkYaLhpsZXQ%40mail.gmail.com.

bil...@microsoft.com

unread,
Nov 21, 2019, 7:40:59 PM11/21/19
to v8-dev
Is there any plans for Perfetto to integrate with Windows OS traces (i.e. ETW events), or will this be purely a Linux-based system integration with the move to Perfetto? (Any ETA on the move you can share?)

Thanks,

 - Bill


On Friday, May 31, 2019 at 5:11:08 AM UTC-7, Primiano Tucci wrote:
What Yang said. It's not possible right now but will be possible quite soon as V8 switches to the new perfetto client library. That has code that will enable v8 to stream events into the systrace daemon and get combined system+v8 traces together.
There's lot of work that is going into this as we speak.

On Fri, May 31, 2019 at 12:31 PM Yang Guo <yan...@chromium.org> wrote:
V8 is currently adopting Perfetto, so it should be at some point easy to feed into Android systrace, iiuc. Adding Primiano and Sami for details :)

Yang

On Mon, May 20, 2019 at 5:07 PM <soh...@chromium.org> wrote:
Hi,

Is it possible to capture V8 traces via Android Systraces https://developer.android.com/studio/profile/systrace/command-line.
https://v8.dev/docs/trace doesnt explain in much detail for the system level tracing.

Thanks,
Sohan

--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages