Generates STREAMS error-logging and event-tracing messages.
The strlog utility generates log messages within the kernel. Required definitions are contained in the sys/strlog.h file.
This utility is part of STREAMS Kernel Extensions.
Item | Description |
---|---|
mid | Specifies the STREAMS module ID number for the module or driver submitting the log message. |
sid | Specifies an internal sub-ID number usually used to identify a particular minor device of a driver. |
level | Specifies a tracing level that allows for selective screening of low-priority messages from the tracer. |
flags | Specifies the destination of the message. This can be any
combination of:
|
fmt | Specifies a print style-format string, except that %f, %e, %E, %g, and %G conversion specifications are not handled. |
arg1 | Specifies numeric or character arguments. Up to NLOGARGS (currently 4) numeric or character arguments can be provided. (The NLOGARGS variable specifies the maximum number of arguments allowed. It is defined in the sys/strlog.h file.) |