From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 516 invoked by alias); 21 Mar 2011 09:55:25 -0000 Received: (qmail 497 invoked by uid 22791); 21 Mar 2011 09:55:24 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,TW_BJ X-Spam-Check-By: sourceware.org Received: from xvm-20-226.ghst.net (HELO fruli.krunch.be) (92.243.20.226) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Mar 2011 09:55:17 +0000 Received: from localhost (localhost [127.0.0.1]) by fruli.krunch.be (Postfix) with ESMTP id 12AB622807; Mon, 21 Mar 2011 09:55:14 +0000 (UTC) Date: Mon, 21 Mar 2011 09:55:00 -0000 From: Adrien Kunysz To: Zhiwei Ying Cc: systemtap Subject: Re: different result on cross-compile on fc12 and fc13 Message-ID: <20110321095511.GA16725@baltika> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) 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-q1/txt/msg00504.txt.bz2 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1172 On Mon, Mar 21, 2011 at 10:28:02AM +0800, Zhiwei Ying wrote: > I have a develop board, which runs linux 2.6.35. The board is > connected to a fedora 12. I cross-compile the systemtap script to > generate trace.ko, and copy the trace.ko to run the instrumented code > on the board. >=20 > If I compiled the trace.ko on fc13, then everything is fine. The trace > log is generated correctly. But if I compiled the trace.ko on fc12, > whatever I use the stap on fc12 or compile a systemtap 1.4 myself, I > cannot see correct trace log on the board after running. The trace.ko > cannot generate any log from application, but only able to trace > probe.end. >=20 > I didn't see any compile error msg on fc12 system. >=20 > Any idea to solve this problem. I cannot drop fc12 now and don't want > to use another fc13 to compile the script. I would rebuild both the working and non-working versions of the module with -vvvvv and try to find any difference in there. Failing that, I would look at differences in the modules themselves (maybe with objdump and diff) then try to figure out where it comes from. A more detailed description of what (doesn't) work(s) would also help. --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 197 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk2HIH8ACgkQKLX03ZSPZGyWvwCfUJWrv3IjG4vG5dKvhFprkcFA F2gAn2VMceMx4NL51YRlUAO7V7E/ftgx =IYfX -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--