From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20795 invoked by alias); 11 Jul 2007 20:06:04 -0000 Received: (qmail 20787 invoked by uid 22791); 11 Jul 2007 20:06:03 -0000 X-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,DK_SIGNED,DNS_FROM_AHBL_RHSBL,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.181) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jul 2007 20:06:01 +0000 Received: by wa-out-1112.google.com with SMTP id k22so2485051waf for ; Wed, 11 Jul 2007 13:05:59 -0700 (PDT) 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= Received: by 10.115.23.12 with SMTP id a12mr5420770waj.1184184359045; Wed, 11 Jul 2007 13:05:59 -0700 (PDT) Received: by 10.114.121.4 with HTTP; Wed, 11 Jul 2007 13:05:58 -0700 (PDT) Message-ID: <5b5833aa0707111305w7c0f98f8l891caef0bc8f858e@mail.gmail.com> Date: Wed, 11 Jul 2007 20:34:00 -0000 From: "Anderson Lizardo" To: "Eugene Teo" Subject: Re: Systemtap source compile for ARM arch Cc: "Naren chandru" , systemtap@sources.redhat.com In-Reply-To: <4694D961.1000008@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <288227.23971.qm@web94305.mail.in2.yahoo.com> <4694D961.1000008@redhat.com> X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00099.txt.bz2 On 7/11/07, Eugene Teo 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- -> /path/to/kernel_sources/vmlinux /lib/modules//build -> /path/to/kernel_sources /lib/modules//source -> /path/to/kernel_sources Finally, make sure you created a /lib/modules//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