google / perfetto

Performance instrumentation and tracing for Android, Linux and Chrome (read-only mirror of https://android.googlesource.com/platform/external/perfetto/)

Home Page:https://www.perfetto.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can ui.perfetto.dev support wifi-connected adb devices?

artrointel opened this issue · comments

I frequently use "adb connect 123.123.123.123:1234" for device connection, but the web-site looks that it does not support the connection at least now. Can I get the wifi-connected device in future?

Not right now, because there is no way for a browser to directly open a TCP socket.

However, there is something in the works.
You can get a sense by looking at r.android.com/1883832 and r.android.com/1911458

Once that work happens, I think you'll be able to use this by doing:

  • adb connect ....
  • Use the websocket bridge.

I am not 100% sure as I didn't test that adb connect still proxies localhost:5037 onto the remote endpoint. If that doesn't, the only option would be adding some remote connect option to the websocket bridge.

I believe the websocket bridge now exists and solves this problem so closing.

websocket bridge now exists and solves this problem so closing.

how to use the bridge? I want to profile my Chromecast with Google TV 4K with adb over WIFI

Enable RecordingV2:
image

Navigate to the recording page:
image

Follow the instructions here:
image

Enable RecordingV2: image

Follow the instructions here: image

Does this also work for me as Windows 10 user?