From: Eugene Teo <eteo@redhat.com>
To: Quentin Barnes <qbarnes@urbana.css.mot.com>
Cc: Anderson Lizardo <anderson.lizardo@gmail.com>,
systemtap@sources.redhat.com
Subject: Re: systemtap ARM port status
Date: Thu, 05 Jul 2007 08:18:00 -0000 [thread overview]
Message-ID: <468CA93E.5000304@redhat.com> (raw)
In-Reply-To: <20070601193314.GE5831@urbana.css.mot.com>
Quentin Barnes wrote:
[...]
>> 1) On host: stap -p 4 -k script.stap
>> 2) Copy generated .ko to target
>> 3) On target: insmod stap-module.ko
>
> Well, for now I'm running completely native. Yes, that's very, very
> painful to run gcc and g++ on such a board with an NFS mounted file
> system and NFS mounted swap file over loopback. It can take four
> hours of wall time to compile and link the "stap" binary and the
> better part of a day to run the full testsuite.
Yes, it's very painful. I didn't run it completely native though. I ran
it in scratchbox, but it keeps on complaining that it is unable to find
the kernel debuginfo, even though it's there. I noticed that strace on
arm eabi seems to be buggy, and that didn't help. A simple hello world
stp script worked though. That is, step 1 and 2 (above), and step 3 using
staprun instead of insmod.
> I've had so many problems to solve getting Systemtap to support
> ARM, I didn't want to have to also deal with problems introduced
> from trying to get it to also support cross-builds simultaneously.
> I decided to work on one problem at a time.
Did you install it to /usr/local? I am wondering if you can tar it up,
and pass me a copy, so that I don't have to download compilers, etc onto
the device to install systemtap natively..
Eugene
prev parent reply other threads:[~2007-07-05 8:18 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-01 18:53 Anderson Lizardo
2007-06-01 19:33 ` Quentin Barnes
2007-06-01 20:13 ` Anderson Lizardo
2007-06-01 20:46 ` Quentin Barnes
2007-06-01 20:50 ` Roland McGrath
2007-06-01 21:12 ` Quentin Barnes
2007-06-01 21:48 ` Roland McGrath
2007-06-01 23:53 ` Frank Ch. Eigler
2007-06-02 0:49 ` Roland McGrath
2007-06-02 3:33 ` Quentin Barnes
2007-06-02 14:11 ` Quentin Barnes
2007-06-02 19:52 ` Roland McGrath
2007-06-04 14:36 ` Martin Hunt
2007-06-05 16:23 ` Quentin Barnes
2007-06-08 23:43 ` systemtap ARM port status [PATCH] Quentin Barnes
2007-06-04 20:09 ` systemtap ARM port status Anderson Lizardo
2007-06-04 20:34 ` Quentin Barnes
2007-07-05 8:18 ` Eugene Teo [this message]
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=468CA93E.5000304@redhat.com \
--to=eteo@redhat.com \
--cc=anderson.lizardo@gmail.com \
--cc=qbarnes@urbana.css.mot.com \
--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).