From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1404 invoked by alias); 14 Dec 2009 12:25:20 -0000 Received: (qmail 1391 invoked by uid 22791); 14 Dec 2009 12:25:19 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,MIME_CHARSET_FARAWAY,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pz0-f199.google.com (HELO mail-pz0-f199.google.com) (209.85.222.199) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Dec 2009 12:25:12 +0000 Received: by pzk37 with SMTP id 37so2070100pzk.10 for ; Mon, 14 Dec 2009 04:25:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.5.30 with SMTP id 30mr3109901wfe.115.1260793511087; Mon, 14 Dec 2009 04:25:11 -0800 (PST) In-Reply-To: <20091214110045.GA6906@localhost.localdomain> References: <48e37220912132155j7989f649r5cf719f49eb75ac6@mail.gmail.com> <20091214070934.GA5456@localhost.localdomain> <20091214071224.GA5518@localhost.localdomain> <48e37220912140241w27413491vbb462237e8569551@mail.gmail.com> <20091214110045.GA6906@localhost.localdomain> Date: Mon, 14 Dec 2009 12:25:00 -0000 Message-ID: <48e37220912140425h3ce1a3en3efb276d69d9ee9d@mail.gmail.com> Subject: Re: systemtap-1.0.0 runtime failure on ARM - simple stap script translation fails From: Indraneel Mukherjee To: Eugeniy Meshcheryakov Cc: systemtap@sources.redhat.com Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: quoted-printable 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: 2009-q4/txt/msg00897.txt.bz2 Hi Eugeniy, On Mon, Dec 14, 2009 at 4:30 PM, Eugeniy Meshcheryakov w= rote: > Yes, I know about that problem. But I'm not sure whether proposed patch > fixes anything. Were you able to _use_ modules made with that patch appli= ed? Yes, i was able to _use_ SystemTap on ARM after applying that patch + your fix. I ran the following script and it worked absolutely fine: global reads probe kernel.function("do_writepages") { reads[execname()]++ } probe timer.s(3) { foreach (count in reads) printf("%s : %d \n", count, reads[count]) } OUTPUT of script: pdflush : 4 pdflush : 4 pdflush : 8 pdflush : 8 pdflush : 12 pdflush : 12 pdflush : 12 ... ... > Or does it fixes only compilation? My guess is that module > initialization will fail because build-id does not match. No it does not fail. Regards, Indro > > 14 =C7=D2=D5=C4=CE=D1 2009 =CF 16:11 +0530 Indraneel Mukherjee =CE=C1=D0= =C9=D3=C1=D7(-=CC=C1): >> Thanks for the fix. Also, there was another patch that i had to apply >> to get Systemtap working for ARM. I checked the latest git and the fix >> is not available for ARM. The fix is here: >> http://sources.redhat.com/ml/systemtap/2009-q4/msg00574.html >> Without the above fix, the ARM(arm-linux is non-relocatable) stap FAILS. >> >> This is related to >> http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg690166.= html >> >> Shouldn't this fix be added to the Systemtap tree to get it right for AR= M? > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iEYEARECAAYFAksmGt0ACgkQKaC6+zmozOLZtwCfasFxn9Q8LgZgLQ59sKIEyJT3 > dEMAoJC1rOkL/NN+mABa5p16hDqXMMV1 > =3Dud4E > -----END PGP SIGNATURE----- > >