From: "Jose R. Santos" <jrs@us.ibm.com>
To: "Gui,Jian" <guij@cn.ibm.com>
Cc: systemtap@sources.redhat.com
Subject: Re: did anyone succeed to use systemtap on SLES9-SP3 ?
Date: Thu, 25 May 2006 11:13:00 -0000 [thread overview]
Message-ID: <44759163.9060507@us.ibm.com> (raw)
In-Reply-To: <000d01c67fe3$560527c0$780cfea9@IBM528414E28E4>
Gui,Jian wrote:
>I'm trying to use systemtap on SLES9-SP3/ppc64 for some reason. Its
>kernel is 2.6.5-7.244.
>
>I installed it successfully but when I ran
> stap -vv -e 'probe begin { log("here") }',
>it always failed during the compilation for the lack of
><linux/hardirq.h>.
>
>This file is included in "runtime.h", but it doesn't exist in
>2.6.5-7.244.
>Another header file <asm/hardirq.h> is there, but it cannot make
>systemtap work either.
>
>
Kprobes in 2.6.5 are a backport from later kernels and the differences
between 2.6.5 and 2.6.9 are substantial. Im not surprise that SystemTap
does not work with stock SLES9 kernels.
>Did anyone ever succeed to use systemtap in SLES9-SP3? or any idea
>about this?
>
>
>
I tried installing SystemTap on SLES9 with newer kernels a while ago and
found that it doesn't work at all even if you use a more modern kernel
from kernel.org. It seem like a problem with elfutils and gcc-3.3. I
verified this using my Debian box and compiling SystemTap with various
compilers. Elfutils seem to require gcc-3.4 or higher in order to work
correctly and SLES9 uses gcc-3.3.3.
After a while I just gave up.
-JRS
prev parent reply other threads:[~2006-05-25 11:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-25 10:10 Gui,Jian
2006-05-25 11:13 ` Jose R. Santos [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=44759163.9060507@us.ibm.com \
--to=jrs@us.ibm.com \
--cc=guij@cn.ibm.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).