Halts the collection of trace data from within a process.
Runtime Services Library (librts.a)
int trcoff(Channel) int Channel;
The trcoff subroutine issues an ioctl subroutine to the trace device driver to stop trace data collection for a particular trace channel. The trace session must have already been started using the trace command or the trcstart subroutine.
Channel | Channel number for the trace session. |
0 | The ioctl subroutine was successful. Trace data collection stops. |
-1 | The ioctl subroutine was not successful. |
This subroutine is part of Base Operating System (BOS) Runtime.
The ioctl subroutine, trcgen subroutine, trchook subroutine, trcon subroutine, trcstart subroutine, trcstop subroutine.
The trace daemon.
trcgenk kernel service, trcgenkt kernel service.