This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/13194] Add --remote adb: scheme
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 16 Sep 2011 21:57:07 +0000
- Subject: [Bug translator/13194] Add --remote adb: scheme
- Auto-submitted: auto-generated
- References: <bug-13194-6586@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13194
--- Comment #1 from Josh Stone <jistone at redhat dot com> 2011-09-16 21:57:07 UTC ---
Created attachment 5934
--> http://sourceware.org/bugzilla/attachment.cgi?id=5934
prototype support for --remote adb:
This implements a stap --remote adb: scheme for Android use. The adb program
must be in your host path, and stapsh must be installed on the target's path.
The target also will need staprun and stapio in whatever prefix was used at
configure time. Invoke from the host list this:
stap --remote adb: ...
stap --remote adb://DEVICEID ...
With "..." being the normal -r/-a/-B/etc. as you would have previously used for
cross-compiling stap -p4. But now you can leave off -p4, and it will transfer
the module through adb and load it with staprun.
This patch is largely untested, as I had trouble figuring out how to
cross-compile ARM programs for my phone. While I work on that, I figured I
might as well share what I have so far. I would appreciate testing and
feedback from anyone who already has cross-compile working.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.