I_FDINSERT in streamio(4)

stephen.a.rago sar0 at cbnewsl.att.com
Tue Aug 14 03:20:58 AEST 1990


In article <WS.90Aug9184533 at karl.tools.uucp>, ws at tools.uucp (Wolfgang Solfrank) writes:
> Currently I'm trying to write a trace module and/or driver for
> streams tracing. I need it for easier testing and debugging of
> a streams protocol stack we are developping here. I'd like to
> let the traced driver/modules and the application as much alone
> as possible. So I face the problem of duplicating all messages
> that are sent thru the protocol stack to the trace application.
> 
> How do I tell the trace driver what streams stack to intercept?

Make the trace driver both a module and a driver, and push it on
the stream in the place you'd like to debug.  Use the module to log
messages and use the driver to recover them.

Steve Rago
sar at attunix.att.com



More information about the Comp.unix.wizards mailing list