From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <2de0259d6ddff1e191615b78edb361aa@kw.quanstro.net> References: <20100519054035.C71DB5B63@mail.bitblocks.com> <2de0259d6ddff1e191615b78edb361aa@kw.quanstro.net> Date: Wed, 19 May 2010 08:13:37 -0700 Message-ID: From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] system call trace version of 9vx available. Topicbox-Message-UUID: 271e4d52-ead6-11e9-9d60-3106f5b1d025 On Tue, May 18, 2010 at 10:45 PM, erik quanstrom wr= ote: > ron, please enlighten the ignorant. =A0could you constrast this with > truss? =A0or maybe there's a man page? I need to write one. The biggest diff from truss is that the program itself is dead simple, since most of the work is done by the kernel and the data relayed to the program as text. The program is really a fancier, fork-following version of this script: while (echo startsyscall > /proc/$1/ctl) cat /proc/$1/syscalltrace All the formatting etc. is in the kernel. ron