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

Item Description
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

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