From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21680 invoked by alias); 16 Jul 2011 00:23:02 -0000 Received: (qmail 21667 invoked by uid 22791); 16 Jul 2011 00:23:00 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,LOTS_OF_MONEY,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bear.ext.ti.com (HELO bear.ext.ti.com) (192.94.94.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 16 Jul 2011 00:22:43 +0000 Received: from dlep34.itg.ti.com ([157.170.170.115]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id p6G0MfZe005005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Jul 2011 19:22:41 -0500 Received: from dlep26.itg.ti.com (smtp-le.itg.ti.com [157.170.170.27]) by dlep34.itg.ti.com (8.13.7/8.13.8) with ESMTP id p6G0Mf48027754; Fri, 15 Jul 2011 19:22:41 -0500 (CDT) Received: from DNCE73.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id p6G0MeWe019738; Fri, 15 Jul 2011 19:22:40 -0500 (CDT) Received: from dnce02.ent.ti.com ([137.167.131.106]) by DNCE73.ent.ti.com ([137.167.130.158]) with mapi; Sat, 16 Jul 2011 02:22:40 +0200 From: "Turgis, Frederic" To: Da Zheng , William Cohen CC: "systemtap@sourceware.org" Content-Class: urn:content-classes:message Date: Sat, 16 Jul 2011 00:23:00 -0000 Subject: RE: error to run systemtap in an ARM platform Message-ID: <13872098A06B02418CF379A158C0F1460162204601@dnce02.ent.ti.com> References: <4E1F90A8.2080000@gmail.com> <1310722941.4510.5.camel@springer.wildebeest.org> <4E209C3F.6060806@gmail.com> <4E20A6EF.9010003@redhat.com> <4E20B11A.5020402@gmail.com> In-Reply-To: <4E20B11A.5020402@gmail.com> Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2011-q3/txt/msg00037.txt.bz2 Hi, We are making quite good use of systemtap here at TI and try to expand to m= ore teams internally. We use it both through cross and native compilation. = We have leveraged mostly v1.3 but we are planning to move to v1.5 - for your "probe syscalls.*" issue, I can tell it was working with v1.3 (w= e use sometimes syscalls_by_pid.stp example) with some instability at execu= tion in few cases. Since then, sycalls.stp and syscalls2.stp have evolved a= nd contain some architecture specific code. If you can't port it (which sha= ll be the way to go), you can try to revert the commits. OK, not clean but = a way to move forward if you really need this. - http://sourceware.org/systemtap/wiki/SystemtapOnFedoraArm mentions http:/= /omappedia.org/wiki/Systemtap, which corresponds to our experiments on Andr= oid, i.e. cross-compilation. Still fedora page is very complet and probably= suits you best, use OMAP page as a complement - https://wiki.linaro.org/Platform/DevPlatform/systemtap is also interestin= g in its short intro to systemtap and what we require in terms of debug sym= bols, kernel config... in context of Linaro (i.e. ARM). Some thoughts also = about timestamping events and a list of issues discovered when running test= suite on v1.3 (you can see it in mail archive, look for my e-mail) We don't have a huge community yet on ARM but most of the people whom we sh= ow the tool (even customers) recognize the benefits of it and somehow lever= age it Regards Fred Frederic Turgis OMAP Platform Business Unit - OMAP System Engineering - Platform Enablement > Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet= . 036 420 040 R.C.S Antibes. Capital de EUR 753.920 -----Original Message----- > From: systemtap-owner@sourceware.org > [mailto:systemtap-owner@sourceware.org] On Behalf Of Da Zheng > Sent: Friday, July 15, 2011 11:29 PM > To: William Cohen > Cc: systemtap@sourceware.org > Subject: Re: error to run systemtap in an ARM platform > > On 07/15/11 13:45, William Cohen wrote: > > Hi Da, > > > > I have been doing cross compiles for the fedora arm kernel > this week. You might try setting the PATH to include the path > to the cross compiler if it isn't part of the normal path and > then try something like: > > > > export ARCH=3Darm > > export CROSS_COMPILE=3Darmv5tel-redhat-linux-gnueabi- > > make > > > > CROSS_COMPILE should be the prefix of the copmiler used for > all the cross compile commands. > > > > I have made a quick wiki page at (still need to format it properly): > > > > http://sourceware.org/systemtap/wiki/SystemtapOnFedoraArm > I wish I had seen your wiki page earlier. I spent a lot of > time to make it work. > Thanks, > Da >