Halts the collection of trace data from within a process.
Runtime Services Library (librts.a)
int trcoff( 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 (trcgen or trcgent Subroutine) subroutine, trchook (trchook or utrchook Subroutine) subroutine, trcon (trcon Subroutine) subroutine, trcstart (trcstart Subroutine) subroutine, trcstop (trcstop Subroutine) subroutine.
The trace daemon.
trcgenk kernel service, trcgenkt kernel service.