public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Eugene Teo <eteo@redhat.com>
To: Naren chandru <naren_lin@yahoo.co.in>
Cc: systemtap@sources.redhat.com
Subject: Re: Systemtap source compile for ARM arch
Date: Wed, 11 Jul 2007 16:36:00 -0000	[thread overview]
Message-ID: <4694D961.1000008@redhat.com> (raw)
Message-ID: <20070711163600.sW2rcGXcv3Xx4cd10ii2vBsLh9nNrWTPg9i4YoSECB4@z> (raw)
In-Reply-To: <288227.23971.qm@web94305.mail.in2.yahoo.com>

Naren chandru wrote:
> Hi all,
>  
> I am new to systemtap. I have downloaded the
> systemtap-20070630.tar.bz2 src and compiled for i686
> architecture without any issue the source get
> compiled.
>  
> Now I am trying to build it for ARM architecture. I
> don't know how to cross compile systemtap for ARM
> architecture. Please help me to cross compile  system
> tap for arm arch. 
>  
> If anyone have the procedure for system tap cross
> compilation pls tell me the procedure.

Are you using scratchbox? I was trying to get SystemTap working on scratchbox
but I didn't manage to go any further than just stap -e 'probe begin {...}'.
It has some problems with looking up for the kernel debuginfo. I have not looked
at it further, so I am not sure if it is a problem with SystemTap or scratchbox.

Quentin mentioned that he got SystemTap working by installing it natively. I
have not tried that.

Also, take note that if your device is using busybox instead of bash, you need
to edit /usr/libexec/systemtap/stp_check to use sh instead of bash. And if
CONFIG_CPU_CP15 is not defined, you need this patch[1] (not necessary if you use
the cvs version of SystemTap).

Btw, you also need the kprobes kernel patches for ARM[2,3].

Let me know how it goes. Thanks!

[1] http://sourceware.org/ml/systemtap-cvs/2007-q3/msg00021.html
[2] http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=4447
[3] http://www.kernel.org/pub/linux/kernel/people/eugeneteo/kprobes/

Eugene

  reply	other threads:[~2007-07-11 15:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-11  8:25 Naren chandru
2007-07-11 15:33 ` Eugene Teo [this message]
2007-07-11 16:36   ` Eugene Teo
2007-07-11 20:34   ` Anderson Lizardo
2007-07-11 17:02 ` Frank Ch. Eigler
2007-07-12 14:13   ` Naren chandru
2007-07-12 17:24     ` Frank Ch. Eigler
2007-07-31 13:48       ` Systemtap hello world error with ARM Naren chandru

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=4694D961.1000008@redhat.com \
    --to=eteo@redhat.com \
    --cc=naren_lin@yahoo.co.in \
    --cc=systemtap@sources.redhat.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 read-only IMAP folder(s) and NNTP newsgroup(s).