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: Using the systemtap configure script on Ubuntu 9.04


Frank, a little elaboration here would be helpful!  You write:

"stap needs to be natively compiled on the development host where the arm
platform's kernel etc. were built."

This step is not described in http://omappedia.org/wiki/Systemtap at least its not obvious to me what the step is to compile stap.
Can someone take the time to describe this. Otherwise I am soon going to bail on using this tool. I have oprofile already working. The install of this tool and any support for it have just been rather painful. To be honest, I don't even know if the effort is worth while. I am trying to verify the performance of my system and this tool was recommended by Steve Dickson and for all I know this tool may be a piece of junk....if the install is any indication, I am not hopeful.

Thanks.



----- Original Message -----
From: "Frank Ch. Eigler" <fche@redhat.com>
To: gkosteva@comcast.net
Cc: "Rayson Ho" <raysonlogin@gmail.com>, systemtap@sourceware.org
Sent: Thursday, May 20, 2010 10:57:11 AM GMT -05:00 US/Canada Eastern
Subject: Re: Using the systemtap configure script on Ubuntu 9.04

gkosteva@comcast.net writes:

> I got the configure to work and ran the make install which successfully
> created the target bound /systemtap-1.0-macharm directory.=20
> I am now trying to generate the *.ko file using the command:
>
> ./stap -gv -a arm -D OMAP_REL_FAMILY -B CROSS_COMPILE=arm-none-linux-gnueabi- -r .....

> However, my /systemtap-1.0-macharm/bin directory only contains stap-report
> and staprun, but no stap executable/script to generate the required .ko file

It looks like the wrong parts of the tool were built.  staprun needs
to be cross-compiled or natively compiled for the arm platform.  stap
needs to be natively compiled on the development host where the arm
platform's kernel etc. were built.

- FChE


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