From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 10 23:55:27 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 4C24F1065673 for ; Fri, 10 Sep 2010 23:55:27 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id EC5F58FC15 for ; Fri, 10 Sep 2010 23:55:26 +0000 (UTC) Received: by vws7 with SMTP id 7so3539599vws.13 for ; Fri, 10 Sep 2010 16:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=80TK+wvFQ6ftw5aAlx1rBoVq4YwrGOmwm98NEO0uaC8=; b=CG2LvguGbyStdDoQVVrs1Y4WQf/jP9sQO7EpkFtUJ033RylmydR34f0yY6LkPCaDpm z/45/8JKd6xBOOOM002NWqiRCDJlkldMWLS7CyZwrUppfo8Mrh+4u4i3bY5fVaaN1r9e nYSGoVUEVwMBckheTrDMWVSNjUD/2tZRtzP68= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=U/U3Un3QsrqWg8ZgziVscwyOMlNZI+M5ES8VmeOQtQxuviuVbqjkZxUIh7ugl3ecn/ ZNiB5z1Ze5e6ASM2LEVNSlxzklyGiMjXDo5Q0DK5mQhVlzH5oIueGv/4fn3nT+LFTKME 3f6swkRLGNNt9K/JmY+9PxGC52C+Sw2LffzjE= Received: by 10.220.49.28 with SMTP id t28mr813897vcf.233.1284162926008; Fri, 10 Sep 2010 16:55:26 -0700 (PDT) Received: from kan.dnsalias.net (c-24-63-226-98.hsd1.ma.comcast.net [24.63.226.98]) by mx.google.com with ESMTPS id e18sm1609978vcs.21.2010.09.10.16.55.24 (version=SSLv3 cipher=RC4-MD5); Fri, 10 Sep 2010 16:55:24 -0700 (PDT) Date: Fri, 10 Sep 2010 19:55:18 -0400 From: Alexander Kabaev To: Garrett Cooper Message-ID: <20100910195518.4d35b3b1@kan.dnsalias.net> In-Reply-To: References: <4C8A81D9.5020905@rawbw.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/346t9.Yi/zk/5x/4F7CjMhz"; protocol="application/pgp-signature" Cc: Yuri , 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: Fri, 10 Sep 2010 23:55:27 -0000 --Sig_/346t9.Yi/zk/5x/4F7CjMhz Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 10 Sep 2010 14:15:17 -0700 Garrett Cooper wrote: > On Fri, Sep 10, 2010 at 12:07 PM, Yuri wrote: > > I am trying to get the log of all system calls that skype makes > > with truss -f /usr/local/share/skype/skype > > For some reason the resulting log only has the leading process > > calls and nothing from it's 8 childs. > > Truss doesn't show any 'cloned' processes. Is this a bug in truss > > that it doesn't follow 'cloned' processes? > > > > Is there any workaround or other way I can debug skype? strace > > doesn't work on amd64. > > I am primarily interested why it can't read /dev/video0 device, > > created by webcamd. >=20 > It doesn't look like ptrace support has been added into the > linuxulator, yet.. but I could be wrong. > -Garrett 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 Alexander Kabaev --Sig_/346t9.Yi/zk/5x/4F7CjMhz Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iD8DBQFMisVqQ6z1jMm+XZYRAiC0AJ9CbSOMFm3VUgVkzJUqgdE4MbYFsQCfZ6zv lIw3GdWaaF9/rQQ4QmAItkI= =vmeG -----END PGP SIGNATURE----- --Sig_/346t9.Yi/zk/5x/4F7CjMhz--