From owner-freebsd-hackers Sat May 27 10:29:45 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id F100437B69D for ; Sat, 27 May 2000 10:29:40 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id KAA31503; Sat, 27 May 2000 10:29:25 -0700 Date: Sat, 27 May 2000 10:29:25 -0700 From: Arun Sharma To: John-Mark Gurney Cc: FreeBSD Hackers Subject: Re: truss(1) with support for fork(2) and friends Message-ID: <20000527102925.A31411@sharmas.dhs.org> References: <20000520180228.A4383@sharmas.dhs.org> <20000526135148.07149@hydrogen.funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <20000526135148.07149@hydrogen.funkthat.com>; from John-Mark Gurney on Fri, May 26, 2000 at 01:51:48PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, May 26, 2000 at 01:51:48PM -0700, John-Mark Gurney wrote: > well, has another committer expressed intrest in this work? I was > looking at committing your code, but it's both for an out of date version > of truss, and run though ident... if you could provide the changes > to the -current source (w/o ident) I'd greatly appreciate it.. Ok, the cleaned up diff is at: http://sharmas.dhs.org/~adsharma/projects/freebsd/truss-diff-current.gz Things TBD: 1. Move print_syscall to syscall_entry rather than exit. 2. Fix the race - before the child truss can attach to the child process, the child could be gone. Other OSes are capable of creating a child which is already stopped, if the parent was being traced. 3. Port the code to alpha 4. Preserve ordering in truss output. Due to stdio, the buffering might reorder the syscalls. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message