From owner-freebsd-chat Thu Feb 3 16: 6:55 2000 Delivered-To: freebsd-chat@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by builder.freebsd.org (Postfix) with ESMTP id B412F4C0F; Thu, 3 Feb 2000 14:22:51 -0800 (PST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id IAA26573; Fri, 4 Feb 2000 08:52:36 +1030 (CST) Date: Fri, 4 Feb 2000 08:52:36 +1030 From: Greg Lehey To: Sean Michael Whipkey Cc: Will Andrews , FreeBSD Questions Subject: Re: strace Message-ID: <20000204085236.F26290@freebie.lemis.com> References: <38999B71.C1A4B35B@cstone.net> <20000203112219.A464@argon.blackdawn.com> <3899AC87.618448A4@cstone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <3899AC87.618448A4@cstone.net> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [redirected to -questions] On Thursday, 3 February 2000 at 11:27:51 -0500, Sean Michael Whipkey wrote: > 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. That sounds like ktrace. However, in System V there's another strace: strace(1M) strace(1M) NAME strace - print STREAMS trace messages SYNOPSIS strace [ mid sid level ] ... DESCRIPTION strace without arguments writes all STREAMS event trace messages from all drivers and modules to its standard out- put. If this is what you're talking about, it can't work, because we don't do STREAMS. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message