Why I can't trace linux process's childs with truss?
Alexander Kabaev
kabaev at gmail.com
Fri Sep 10 23:55:27 UTC 2010
On Fri, 10 Sep 2010 14:15:17 -0700
Garrett Cooper <gcooper at FreeBSD.org> wrote:
> On Fri, Sep 10, 2010 at 12:07 PM, Yuri <yuri at rawbw.com> 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.
>
> 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.
--
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20100910/01b6adaa/signature.pgp
More information about the freebsd-hackers
mailing list