TRC_disable
Application Program Interface
2-469
C Interface
Syntax
TRC_disable(mask);
Parameters
Uns
mask;
/* trace type constant mask */
Return Value
Void
Reentrant
no
Description
TRC_disable disables tracing of one or more trace types. Trace types are
specified with a 32-bit mask. (See the TRC Module topic for a list of
constants to use in the mask.)
The following C code would disable tracing of statistics for software
interrupts and periodic functions:
TRC_disable(TRC_LOGSWI | TRC_LOGPRD);
Internally, DSP/BIOS uses a bitwise AND NOT operation to disable
multiple trace types.
For example, you might want to use TRC_disable with a circular log and
disable tracing when an unwanted condition occurs. This allows test
equipment to retrieve the log events that happened just before this
condition started.
See Also
TRC_enable
TRC_query
LOG_printf
LOG_event
STS_add
STS_delta
TRC_disable
Disable trace class(es)