From owner-freebsd-chat Thu Feb 3 8:25: 7 2000 Delivered-To: freebsd-chat@freebsd.org Received: from Astrovan.cstone.net (mailstop.cstone.net [205.197.102.13]) by builder.freebsd.org (Postfix) with ESMTP id EFA9240AF for ; Thu, 3 Feb 2000 08:25:03 -0800 (PST) Received: from cstone.net (snowcrash.cstone.net [209.145.66.12]) by Astrovan.cstone.net (Post.Office MTA v3.5.3 release 223 ID# 0-59789U13500L1350S0V35) with ESMTP id net; Thu, 3 Feb 2000 11:20:41 -0500 Message-ID: <3899AC87.618448A4@cstone.net> Date: Thu, 03 Feb 2000 11:27:51 -0500 From: Sean Michael Whipkey X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Will Andrews Cc: freebsd-chat@FreeBSD.ORG Subject: Re: strace References: <38999B71.C1A4B35B@cstone.net> <20000203112219.A464@argon.blackdawn.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Will Andrews wrote: > > On Thu, Feb 03, 2000 at 10:14:57AM -0500, Sean Michael Whipkey wrote: > > Someone asked me to run strace on a program that they wrote. Now, I'm > > running a FreeBSD box, and strace doesn't support BSD. Anyone know of a > > similar program I could use? > > What IS strace? If it's a library, it can be ported. If it's a program, it > can be ported. If it's a file(1) extension, it can be ported. If it's a > kernel module, it can be ported. If it's a driver, it can be ported. > > Theoretically speaking, of course. I'd be glad to port it if it's one of > the first two above. ;-) Well, according to the web page: Strace is a system call trace, i.e. a debugging tool which prints out a trace of all the system calls made by a another process/program. The program to be traced need not be recompiled for this, so you can use it on binaries for which you don't have source. System calls and signals are events that happen at the user/kernel interface. A close examination of this boundary is very useful for bug isolation, sanity checking and attempting to capture race conditions. The web page is at: http://www.wi.leidenuniv.nl/~wichert/strace/ SeanMike -- SeanMike Whipkey - highway@cstone.net - http://www.cstone.net Engineering Department, Cornerstone Networks, Inc. - 804.817.7000 "This is a world where a geomantically-trained ninja interior decorator can wreak havoc." - Feng Shui [paraphrased] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message