From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 10 19:46:01 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 DDC2E1065674 for ; Fri, 10 Sep 2010 19:46:01 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id A59B88FC1A for ; Fri, 10 Sep 2010 19:46:01 +0000 (UTC) Received: from turtle.stack.nl (turtle.stack.nl [IPv6:2001:610:1108:5010::132]) by mx1.stack.nl (Postfix) with ESMTP id AE42C35A86D; Fri, 10 Sep 2010 21:46:00 +0200 (CEST) Received: by turtle.stack.nl (Postfix, from userid 1677) id A543F17267; Fri, 10 Sep 2010 21:46:00 +0200 (CEST) Date: Fri, 10 Sep 2010 21:46:00 +0200 From: Jilles Tjoelker To: Yuri Message-ID: <20100910194600.GB60815@stack.nl> References: <4C8A81D9.5020905@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C8A81D9.5020905@rawbw.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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: Fri, 10 Sep 2010 19:46:01 -0000 On Fri, Sep 10, 2010 at 12:07:05PM -0700, 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. Try using ktrace instead of truss. You will need devel/linux_kdump from ports to decode the resulting ktrace.out. Alternatively, if you're familiar with dtrace, you could try that. -- Jilles Tjoelker