From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 11 10:32:49 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1CF9106564A for ; Sat, 11 Sep 2010 10:32:49 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 2CAC28FC0C for ; Sat, 11 Sep 2010 10:32:46 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o8BAWgBq083107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 11 Sep 2010 13:32:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o8BAWgYV097084; Sat, 11 Sep 2010 13:32:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o8BAWgNf097083; Sat, 11 Sep 2010 13:32:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 11 Sep 2010 13:32:42 +0300 From: Kostik Belousov To: Yuri Message-ID: <20100911103242.GV2465@deviant.kiev.zoral.com.ua> References: <4C8A81D9.5020905@rawbw.com> <20100910195518.4d35b3b1@kan.dnsalias.net> <4C8B47B5.60906@rawbw.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KxKI/R+N9hudrWbn" Content-Disposition: inline In-Reply-To: <4C8B47B5.60906@rawbw.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-hackers@freebsd.org Subject: Re: Why I can't trace linux process's childs with truss? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2010 10:32:49 -0000 --KxKI/R+N9hudrWbn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 11, 2010 at 02:11:17AM -0700, Yuri wrote: > On 09/10/2010 16:55, Alexander Kabaev wrote: > >You are. ptrace is supported by linuxulator for a while now. The > >originator problem is likely because he is trying truss, which is not > >Linux-aware. ktrace/linux_kdump combo should work. > > =20 >=20 > I tried this: ktrace -d /usr/local/share/skype/skype > Resulting trace again shows only the main process, not it's descendants,= =20 > despite -d flag. > Same in the case of calling with pid: ktrace -d -p . -d means "current descendants". On the other hand, -i is "inherit by all future children". --KxKI/R+N9hudrWbn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkyLWsoACgkQC3+MBN1Mb4jvOgCfZvSLJFBFSTwkNV3TLDPVzZaF kNIAnicJqx9sKhbeDxqr/qQNujWLceDq =WTpA -----END PGP SIGNATURE----- --KxKI/R+N9hudrWbn--