From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8851 invoked by alias); 11 Nov 2009 09:41:40 -0000 Received: (qmail 8830 invoked by uid 22791); 11 Nov 2009 09:41:37 -0000 X-SWARE-Spam-Status: No, hits=-2.4 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; Wed, 11 Nov 2009 09:41:30 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.tu-cottbus.de (Postfix) with ESMTP id E1CA0690160; Wed, 11 Nov 2009 10:41:27 +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) by smtp2.tu-cottbus.de (Postfix) with ESMTPSA id 17FC7690170; Wed, 11 Nov 2009 10:41:21 +0100 (CET) Received: by loki (Postfix, from userid 1000) id 74CE8EAA1BC; Wed, 11 Nov 2009 10:41:04 +0100 (CET) Date: Wed, 11 Nov 2009 09:41:00 -0000 From: Eugeniy Meshcheryakov To: James Y Knight Cc: systemtap@sourceware.org Subject: Re: Troubles with debug info, using systemtap on debian. Message-ID: <20091111094104.GA6320@localhost.localdomain> References: <20091110093254.GA3190@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: 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/msg00490.txt.bz2 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 948 Hello, 10 =D0=BB=D0=B8=D1=81=D1=82=D0=BE=D0=BF=D0=B0=D0=B4=D0=B0 2009 =D0=BE 13:38= -0500 James Y Knight =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=B2(-=D0=BB=D0= =B0): > Unless something *further* strange is going on in my environment, > anyone should be able to reproduce by: > 1) removing the symlink to your kernel build dir (rm /lib/modules/ > $VERS/build): renaming is not enough, systemtap still finds it! > 2) ensuring that the debug info in /usr/lib/debug is stripped of > code with objcopy --only-keep-debug. > 3) ensuring the kernel modules in /lib/modules/$VERS are stripped of > debug info. This does not work at all. With DWARF probes stap does not find debug info (and does not segfault). With dwarfless probes stap still requires build directory (I guess to build module?) and does not segfault. I tried to probe module("snd").function("snd_open") and kprobe.module("snd").function("snd_open"). Did you try to remove ~/.systemtap? --ZPt4rx8FFjLCG7dd 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) iEYEARECAAYFAkr6hrAACgkQKaC6+zmozOLmkwCfcuk8GZPGGfCYvLtYd71sCJJC iIoAn36x3waG62nnsraPFBnxB/mCRviT =SfYT -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--