This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Met Problem on Enable SystemTap on Android


OK I was a bit lost because I thought we were just executing 1 program remotely and getting back some trace. And so I was focusing on potential bug/restriction of adb. Which is more functionality missing from adb

Regards
Fred

Frederic Turgis
OMAP Platform Business Unit - OMAP System Engineering - Platform Enablement



>
Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 753.920

-----Original Message-----

>From: Josh Stone [mailto:jistone@redhat.com]
>Sent: Tuesday, September 27, 2011 6:15 PM
>To: Turgis, Frederic
>Cc: SystemTap
>Subject: Re: Met Problem on Enable SystemTap on Android
>
>On 09/27/2011 07:25 AM, Turgis, Frederic wrote:
>> Not sure this is same use case but "adb shell cat xxx" or "adb shell
>> xxx" performed on my host is expected to run the right thing on
>> target.
>
>The difference is whether that remote command needs stdin from
>the host.
>For "adb shell cat" with no file argument, it should be
>copying stdin to stdout, but it receives nothing.
>
>> For example, I could do "adb shell /data/systemtapxxx/bin/staprun
>> /data/systemtapxxx/test.ko" and get ouput directly on my host (but I
>> prefer dumping in a tmpfs then pull on host). This is silicon vendor
>> dev platform and not phone.
>
>So when we do stap --remote, we launch a stapsh that needs to
>go back and forth with a few queries -- what's your uname,
>upload this file, start staprun.  If stdin isn't working, this
>gets nowhere.
>
>> I still have previous mail in my Inbox to have a look but
>this is not
>> top of my list :-(
>
>No problem, it's just moving back down my list too. :)
>
>Josh
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]