Trace Channels
The operating system supports up to seven generic trace channels in operation at the same time.
Before starting an LS trace, a user must allocate a channel with the DLC_START_LS ioctl operation or the DLC_TRACE ioctl operation. Begin the trace sessions with the trcstart and trcon subroutines.
Trace activity in the LS must be stopped either by halting the LS or by issuing an ioctl (DLC_TRACE, flags=0) operation to that station. When the LS stops tracing, the channel is disabled with the trcoff subroutine and returned to the system with the trcstop subroutine.