stap -r option

William Cohen wcohen@redhat.com
Fri Dec 28 15:21:00 GMT 2007


manjunath k wrote:
> Hi,
> 
>    The stap has the following command line option
> 
> "stap -r RELEASE cross-compile to kernel RELEASE, instead of linux-2.6.12"
> 
> does this mean that we can cross compile the module for the kernel
> source built for other architecture.
> 
> -Regards,
> Manjunath

Hi Manjunath,


That option has been mainly used for compiling instrumentation for a kernel that 
is not currently running on the system. The assumption is that the architecture 
is the same for the host and target. What is your target architecture?

There has been some previous work to get systemtap cross compile to the arm 
processor. In particular ,Eugene Teo has gotten systemtap to work on Nokia n800:

http://sources.redhat.com/ml/systemtap/2007-q3/msg00111.html

-Will



More information about the Systemtap mailing list