Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 1996 11:54:13 -0400
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        James Raynard <fcurrent@jraynard.demon.co.uk>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: ktrace [Was: 2.2-960612-SNAP resolver problems]
Message-ID:  <9606191554.AA19234@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199606181341.NAA00521@jraynard.demon.co.uk>
References:  <9606171557.AA01047@halloran-eldar.lcs.mit.edu> <199606181341.NAA00521@jraynard.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 18 Jun 1996 13:41:52 GMT, James Raynard <fcurrent@jraynard.demon.co.uk> said:

> I don't follow. If the ktrace() system call took a file descriptor
> allocated by the ktrace program as its first argument, and used that
> to find the vnode to write the trace information to, how would that
> involve disturbing the file descriptor table of the process being
> debugged? (Except perhaps for pathological cases like trying to get a
> running ktrace process to debug itself).

The original poster suggested sending it to standard output, which is
(generally speaking) not a useful place for binary trace data to go
because whatever is interpreting the real output of the program can't
deal with it.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



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