[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions , Volume 2


trcoff Subroutine

Purpose

Halts the collection of trace data from within a process.

Library

Runtime Services Library (librts.a)

Syntax


int trcoff( Channel)
int Channel;

Description

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.

Parameters


Channel Channel number for the trace session.

Return Values


0 The ioctl subroutine was successful. Trace data collection stops.
-1 The ioctl subroutine was not successful.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

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.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]