[lttng-dev] [lttng-relayd] is there existing cases for relayd to stream over Android usb based adb?
Wu, Yannan
yannanwu at amazon.com
Thu May 30 01:53:05 EDT 2024
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20240530/d55b870d/attachment.htm>
More information about the lttng-dev
mailing list