lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* [lttng-dev] [lttng-relayd] is there existing cases for relayd to stream over Android usb based adb?
@ 2024-05-30  5:53 Wu, Yannan via lttng-dev
  2024-05-30 19:12 ` Kienan Stewart via lttng-dev
  0 siblings, 1 reply; 7+ messages in thread
From: Wu, Yannan via lttng-dev @ 2024-05-30  5:53 UTC (permalink / raw)
  To: lttng-dev@lists.lttng.org


[-- Attachment #1.1: Type: text/plain, Size: 1105 bytes --]

Hihi, there,

I am currently working on enabling lttng live mode over android usb adb. Here is the situation, during debugging some network related issues, we dont want the trace data to be streamed via network to cause extra load to the system being profiled. Then we select to connect lttng-relayd with adb via port forwarding so that the data is "forward" to the host.

Here is the set up and the problem:

for the device:  adb reverse tcp:5342 tcp:5342; adb reverse tcp:5343 tcp:5343; adb reverse tcp:5344 tcp:5344
Then starting up lttng with --live enabled.

What is expected:
lttng start streaming to the localhost.
What is seen:
the lttng-relayd failed to start. For unable binding to the socket.

The cause of this issue:

both adb reverse and lttng relayd need binding to the socket which is conflict with each other.


So what I wanna ask is, for embedded system use cases, do we have successful use cases among team that could stream the trace data in live mode to the host with usb based adb? If not, any idea or suggestion to me on how to process forward?

Amanda




[-- Attachment #1.2: Type: text/html, Size: 1696 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-06-04 15:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30  5:53 [lttng-dev] [lttng-relayd] is there existing cases for relayd to stream over Android usb based adb? Wu, Yannan via lttng-dev
2024-05-30 19:12 ` Kienan Stewart via lttng-dev
2024-06-03  2:55   ` Wu, Yannan via lttng-dev
2024-06-04 15:09     ` Mathieu Desnoyers via lttng-dev
2024-06-04 15:25       ` Wu, Yannan via lttng-dev
2024-06-04 15:56         ` Mathieu Desnoyers via lttng-dev
2024-06-03  3:01   ` Wu, Yannan via lttng-dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).