This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Systemtap source compile for ARM arch
- From: "Anderson Lizardo" <anderson dot lizardo at gmail dot com>
- To: "Eugene Teo" <eteo at redhat dot com>
- Cc: "Naren chandru" <naren_lin at yahoo dot co dot in>, systemtap at sources dot redhat dot com
- Date: Wed, 11 Jul 2007 16:05:58 -0400
- Subject: Re: Systemtap source compile for ARM arch
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bVeI0hzQyxYoPQds4GZKAtAldat1S/Vxo8vBeukYR/s6IOiHvQi3fREnWaSK7pk7vgSn6bPtCl8DS8RLTfKEUiYNg7+ybAztHLH8mXaPYNhRatu5b3thf9gkynk0BvVtdYxRuJ2YhaoCyXpthXSCpB46AANU7TNAmhK6NYuewTo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rg6IFElmjq0/sGqu2bYnKrYWHd6MEL6dzcCgVy68c3AhUHXDI6IpMAj7yotIzl6Pikz48HKv4spXcxYTDf0PNKf0dxOYQQEMAXlk2lSkLOmYqnhdCM6kia6hpTqf92VG/DjIFUniLIvwrpoz3yNgg5qil/W0uJYGNkR0/Gwh228=
- References: <288227.23971.qm@web94305.mail.in2.yahoo.com> <4694D961.1000008@redhat.com>
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