From owner-freebsd-stable@FreeBSD.ORG Tue Nov 1 14:00:11 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52D301065670 for ; Tue, 1 Nov 2011 14:00:10 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id ECF838FC19 for ; Tue, 1 Nov 2011 14:00:09 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RLEsq-0002M2-1H for freebsd-stable@freebsd.org; Tue, 01 Nov 2011 15:00:08 +0100 Received: from office-nat.spylog.net ([193.169.234.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Nov 2011 15:00:08 +0100 Received: from citrin by office-nat.spylog.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Nov 2011 15:00:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Anton Yuzhaninov Date: Tue, 1 Nov 2011 13:54:09 +0000 (UTC) Organization: Vega Lines: 21 Sender: Anton Yuzhaninov Message-ID: References: X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: office-nat.spylog.net X-Comment-To: Shawn Webb User-Agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/10.0-CURRENT (i386)) Subject: Re: DTrace Issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2011 14:00:11 -0000 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