public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "Turgis, Frederic" <f-turgis@ti.com>
To: 최재혁B <jaehyek.choi@lge.com>
Cc: "'Josh Stone'" <jistone@redhat.com>,
	       "systemtap@sourceware.org"	<systemtap@sourceware.org>
Subject: RE: Some Problem come out during runing systemtap module on Android phone.
Date: Thu, 01 Sep 2011 08:37:00 -0000	[thread overview]
Message-ID: <13872098A06B02418CF379A158C0F146016301D586@dnce02.ent.ti.com> (raw)
In-Reply-To: <003001cc686f$27aeafc0$770c0f40$@choi@lge.com>

> But the target “android gingerbread phone” is not working.
> when I run the “helloworld.stp”,  an abnormal message comes
> out like below.
>
> /data/staphome/bin# ./staprun helloworld.ko helloworld
> /data/staphome/bin/staprun: No such file or directory (  <-
> abnormal message )
Try first ./staprun to see if "help" is coming out. "printf" shall work ! Try to chmod staprun and stapio, this does not look related to systemtap
I made systemtap work on Froyo and Gingerbread, well this is essentially a kernel related tool on ARM (no time to investigate/code utrace/uprobes on our side :-( ) so it shall work on any pastry, as google does not change that much the kernel. But userspace is killing me as a developer.


>
>
> Also when I run the “ ./staprun iotop.ko” on target phone,
> the phone is gone to reset .
> Could you help me to resolve this problem ?
Mmmmh, we have hit issues when running several scripts in parallel (on Android, works fine on Ubuntu). Works first time, not 2nd time. Or issues when probing all system calls. But iotop.stp is working fine on my Gingerbread (K2.6.35)

>
> As your reference,
> . the Froyo phone is including the kernel version 2.6.32
> which was built in ubuntu 32bit, . the Gingerbread phone is
> including the kernel version 2.6.35.11 which was built in
> ubuntu 64bit.
We are at kernel 2.6.35. I don't really track the potential incompabilities between kernels and systemtap. We had to modify ptrace.h in the past, I don't remember when we started no longer needing it

> . And both phone is not OMAP-based . ( Should I use the OMAP
> platform ? )
You don't need an OMAP platform. We don't make any specific change for OMAP. Using /data/staphome instead of /home/xxx is totally OK as far as you respect paths on desktop and target, which is the case for you.

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




  parent reply	other threads:[~2011-09-01  8:37 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-30 19:11 Met Problem on Enable SystemTap on Android Yao,Yanjun
2011-08-30 19:32 ` Josh Stone
     [not found]   ` <CAFxt-KSZkjb5eYutfEYTxe2=Hru7zLjd-YrBRs814N=VJFWr+A@mail.gmail.com>
2011-08-30 20:14     ` Josh Stone
2011-08-30 21:14       ` Yao,Yanjun
2011-08-30 22:16         ` Josh Stone
2011-08-31  9:05           ` Turgis, Frederic
2011-08-31 16:17             ` Josh Stone
2011-08-31 21:03               ` Yao,Yanjun
2011-09-01  9:00                 ` Turgis, Frederic
2011-09-01 16:09                   ` Josh Stone
2011-09-01 16:31                     ` Turgis, Frederic
2011-09-01 17:34                       ` Josh Stone
2011-09-01 21:40                         ` Turgis, Frederic
2011-09-01 16:21                   ` Yao,Yanjun
2011-09-01 16:44                     ` Turgis, Frederic
2011-09-07 21:46                       ` Yao,Yanjun
2011-09-08  7:46                         ` Mark Wielaard
2011-09-08 17:12                           ` Yao,Yanjun
2011-09-09 11:35                             ` Turgis, Frederic
2011-09-09 15:27                               ` Yao,Yanjun
2011-09-09 15:52                                 ` Turgis, Frederic
2011-09-14 20:20                                   ` Yao,Yanjun
2011-09-14 20:33                                     ` Mark Wielaard
2011-09-14 20:38                                     ` David Smith
2011-09-14 20:40                                       ` Yao,Yanjun
2011-09-15  7:15                                         ` Turgis, Frederic
2011-09-20 19:50                                           ` Yao,Yanjun
2011-09-21  6:42                                             ` Turgis, Frederic
2011-09-01  8:45               ` Turgis, Frederic
2011-09-26 20:52                 ` Josh Stone
2011-09-27 14:25                   ` Turgis, Frederic
2011-09-27 16:14                     ` Josh Stone
2011-09-27 18:02                       ` Turgis, Frederic
     [not found]             ` <003001cc686f$27aeafc0$770c0f40$@choi@lge.com>
2011-09-01  8:37               ` Turgis, Frederic [this message]
2011-09-06  1:30                 ` Some Problem come out during runing systemtap module on Android phone 최재혁B
2011-09-06  9:58                   ` Turgis, Frederic
2011-09-09  1:40                 ` problem during "make install" at Ubuntu64 최재혁B
2011-09-09  9:47                   ` Mark Wielaard
2011-09-09 10:38                     ` Turgis, Frederic
2011-09-15  0:19                     ` 최재혁B
2011-09-15  6:05                       ` 'Mark Wielaard'
2011-09-16  8:08                         ` 최재혁B
2011-09-16  9:53                           ` Mark Wielaard
2011-09-16  8:20                         ` How can I trace when the allocated memory is free after kmalloc ? 최재혁B
2011-09-16 10:03                           ` Mark Wielaard
2011-09-20  0:39                             ` 최재혁B
2011-09-20  9:12                               ` Mark Wielaard
2011-09-20 16:01                                 ` Josh Stone
2011-09-22 14:11                                   ` Turgis, Frederic
2011-09-23  0:27                                     ` 최재혁B
     [not found]                           ` <OF28D2A9AC.052504CE-ON4925790F.00483152-4925790F.00483154@lge.com>
2011-09-18 19:59                             ` Re : " Mark Wielaard

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=13872098A06B02418CF379A158C0F146016301D586@dnce02.ent.ti.com \
    --to=f-turgis@ti.com \
    --cc=jaehyek.choi@lge.com \
    --cc=jistone@redhat.com \
    --cc=systemtap@sourceware.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).