Date: Sat, 11 Sep 2010 13:32:42 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Yuri <yuri@rawbw.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Why I can't trace linux process's childs with truss? Message-ID: <20100911103242.GV2465@deviant.kiev.zoral.com.ua> In-Reply-To: <4C8B47B5.60906@rawbw.com> References: <4C8A81D9.5020905@rawbw.com> <AANLkTik-C_d%2BXs0Ov6Z1MU0y67WuiAmU3oFa3HDis=_i@mail.gmail.com> <20100910195518.4d35b3b1@kan.dnsalias.net> <4C8B47B5.60906@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <pid>. -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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100911103242.GV2465>