[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, Volume 2

trcstop Subroutine

Purpose

Stops a trace session.

Library

Runtime Services Library (librts.a)

Syntax

int trcstop(Channel)
int Channel;

Description

The trcstop subroutine stops a trace session for a particular trace channel.

Parameters

Channel Specifies one of eight trace channels. Channel number 0 always refers to the Event/Performance trace. Channel numbers 1 through 7 specify generic trace channels.

Return Values

0 The trace session was stopped successfully.
-1 The trace session did not stop.

Implementation Specifics

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

Related Information

The ioctl subroutine, trcgen subroutine, trchook subroutine, trcoff subroutine, trcon subroutine, trcstart subroutine.

The trace daemon.

The trcgenk kernel service, trcgenkt kernel service.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]