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: Systemtap source compile for ARM arch


On 7/11/07, Eugene Teo <eteo@redhat.com> wrote:
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.

Have you tried using the "-r" option to pass the correct kernel release? E.g. "stap -p4 -e '...' -r 2.6.18-omap1". Otherwise it will get the host kernel version.

Also make sure you have the necessary symlinks inside Scratchbox:

/boot/vmlinux-<release> -> /path/to/kernel_sources/vmlinux
/lib/modules/<release>/build -> /path/to/kernel_sources
/lib/modules/<release>/source -> /path/to/kernel_sources

Finally, make sure you created a /lib/modules/<release>/kernel
directory. It can even be empty, but stap may complain with a "missing
debug info" error if it's not there.

Regards,
--
Anderson Lizardo


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