From: "Wu, Yannan via lttng-dev" <lttng-dev@lists.lttng.org>
To: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>
Subject: [lttng-dev] [lttng-relayd] is there existing cases for relayd to stream over Android usb based adb?
Date: Thu, 30 May 2024 05:53:05 +0000 [thread overview]
Message-ID: <b2e9c32fbcbe4067a64fd831bac70d81@amazon.com> (raw)
[-- 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
next reply other threads:[~2024-05-30 5:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-30 5:53 Wu, Yannan via lttng-dev [this message]
2024-05-30 19:12 ` [lttng-dev] [lttng-relayd] is there existing cases for relayd to stream over Android usb based adb? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b2e9c32fbcbe4067a64fd831bac70d81@amazon.com \
--to=lttng-dev@lists.lttng.org \
--cc=yannanwu@amazon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).