Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2011 13:54:09 +0000 (UTC)
From:      Anton Yuzhaninov <citrin@citrin.ru>
To:        freebsd-stable@freebsd.org
Subject:   Re: DTrace Issues
Message-ID:  <j8otm1$fe7$2@dough.gmane.org>
References:  <CADt0fhws=pG%2B6%2BHKy%2Bc50EuTSQuv61ytB0QjrRkAfKaUb7qNPw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Oct 2011 18:32:19, Shawn Webb wrote:
SW> #!/usr/sbin/dtrace -s
SW> 
SW> #pragma D option quiet
SW> 
SW> proc:::exec-success
SW> /uid == $1/
SW> {
SW>     printf("%d:%d:%s:", walltimestamp, uid, execname);
SW>     trace(curpsinfo->pr_psargs);
SW>     printf("\n");
SW> }

Dtrace port to FreeBSD is not complete

AFAIK:
 - walltimestamp is not implimented at all
 - curpsinfo->pr_psargs show only argv[0] (command name)

-- 
 Anton Yuzhaninov




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?j8otm1$fe7$2>