Systemtap source compile for ARM arch
Anderson Lizardo
anderson.lizardo@gmail.com
Wed Jul 11 20:34:00 GMT 2007
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
More information about the Systemtap
mailing list