From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12846 invoked by alias); 14 Dec 2009 15:26:31 -0000 Received: (qmail 12838 invoked by uid 22791); 14 Dec 2009 15:26:30 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp2.tu-cottbus.de (HELO smtp2.tu-cottbus.de) (141.43.99.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Dec 2009 15:26:23 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.tu-cottbus.de (Postfix) with ESMTP id A0E136901A8; Mon, 14 Dec 2009 16:26:21 +0100 (CET) Received: from loki (cd1.cd.tu-cottbus.de [141.43.159.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: meshciev) by smtp2.tu-cottbus.de (Postfix) with ESMTPSA id EFC146901A3; Mon, 14 Dec 2009 16:26:13 +0100 (CET) Received: by loki (Postfix, from userid 1000) id A6C33EAA11F; Mon, 14 Dec 2009 16:26:13 +0100 (CET) Date: Mon, 14 Dec 2009 15:26:00 -0000 From: Eugeniy Meshcheryakov To: Indraneel Mukherjee Cc: systemtap@sources.redhat.com Subject: Re: systemtap-1.0.0 runtime failure on ARM - simple stap script translation fails Message-ID: <20091214152613.GA8077@localhost.localdomain> References: <48e37220912132155j7989f649r5cf719f49eb75ac6@mail.gmail.com> <20091214070934.GA5456@localhost.localdomain> <20091214071224.GA5518@localhost.localdomain> <48e37220912140241w27413491vbb462237e8569551@mail.gmail.com> <20091214110045.GA6906@localhost.localdomain> <48e37220912140425h3ce1a3en3efb276d69d9ee9d@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <48e37220912140425h3ce1a3en3efb276d69d9ee9d@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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/msg00904.txt.bz2 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2111 14 =D0=B3=D1=80=D1=83=D0=B4=D0=BD=D1=8F 2009 =D0=BE 17:55 +0530 Indraneel M= ukherjee =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=B2(-=D0=BB=D0=B0): > On Mon, Dec 14, 2009 at 4:30 PM, Eugeniy Meshcheryakov = wrote: > > 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 app= lied? >=20 > 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: Hmm, that's strange. But thanks for the information. I'll look what it is possible to do. >=20 > global reads > probe kernel.function("do_writepages") { > reads[execname()]++ > } > probe timer.s(3) > { > foreach (count in reads) > printf("%s : %d \n", count, reads[count]) > } >=20 > 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. >=20 > No it does not fail. >=20 > Regards, > Indro >=20 > > > > 14 =D0=B3=D1=80=D1=83=D0=B4=D0=BD=D1=8F 2009 =D0=BE 16:11 +0530 Indrane= el Mukherjee =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=B2(-=D0=BB=D0=B0): > >> 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 FAIL= S. > >> > >> This is related to > >> http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg69016= 6.html > >> > >> Shouldn't this fix be added to the Systemtap tree to get it right for = ARM? > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.10 (GNU/Linux) > > > > iEYEARECAAYFAksmGt0ACgkQKaC6+zmozOLZtwCfasFxn9Q8LgZgLQ59sKIEyJT3 > > dEMAoJC1rOkL/NN+mABa5p16hDqXMMV1 > > =3Dud4E > > -----END PGP SIGNATURE----- > > > > --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 198 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAksmWRUACgkQKaC6+zmozOLuYwCfZWG2mBkJ+Pa9gnrmmONCLNma ilYAn3HLzxEUKf+JToG4bMMBZAgTeihJ =fYZ4 -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--