Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2010 21:46:00 +0200
From:      Jilles Tjoelker <jilles@stack.nl>
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:  <20100910194600.GB60815@stack.nl>
In-Reply-To: <4C8A81D9.5020905@rawbw.com>
References:  <4C8A81D9.5020905@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100910194600.GB60815>