|
|
The following topic is discussed:
STREAMS modules and drivers can record trace messages using the strlog(D3str) function. Calls to this function are converted into STREAMS messages and relayed by log(7), a software driver, to the strace process. The log driver is also used to send error messages to the strerr process.
Module and driver writers should limit the number of messages sent to either the error or trace loggers. If a large number of messages are sent some could be lost, because some parts of this facility do not include flow control.
Messages may not be delivered to strace in the same order in which they were sent. However, every message includes a sequence number field provided to make it possible to determine the correct message order where necessary.