Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2000 08:52:36 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Sean Michael Whipkey <highway@cstone.net>
Cc:        Will Andrews <andrews@technologist.com>, FreeBSD Questions <questions@FreeBSD.org>
Subject:   Re: strace
Message-ID:  <20000204085236.F26290@freebie.lemis.com>
In-Reply-To: <3899AC87.618448A4@cstone.net>
References:  <38999B71.C1A4B35B@cstone.net> <20000203112219.A464@argon.blackdawn.com> <3899AC87.618448A4@cstone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[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-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000204085236.F26290>