GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > VXW / V6-12-2

Constituent: vxw_tornado     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

TRX_trace.c File Reference

Functions for the trace-exceptions facility. More...

#include "intLib.h"
#include "drv/trace/TRX_trace.h"
#include "vxWorks.h"

Include dependency graph for TRX_trace.c:


Data Structures

struct  _TRX_Control
 Control block. More...

Typedefs

typedef _TRX_Control TRX_Control
 Typedef for struct _TRX_Control.

Functions

void TRX_enter (unsigned int exc, TRX_cb_Routine rtn)
 Record entrance to an exception.
void TRX_exit (unsigned int exc, TRX_cb_Routine rtn)
 Record entrance to an exception.
void TRX_select (unsigned int msk, unsigned int val)
 Selective set and clear of exceptions to trace.
void TRX_setCallback (TRX_cb_Routine *rtn)
 Configure the insert-into-trace callback routine.
TRX_cb_RoutineTRX_shouldCall (unsigned int exc)
 Determine if this exception should create trace entries.

Variables

static TRX_Control TRX_control
 Control block for the trace-exceptions facility.

Detailed Description

Functions for the trace-exceptions facility.

CVS $Id: TRX_trace.c,v 1.2 2006/12/19 23:31:36 apw Exp $
Author:
A.P.Waite

Function Documentation

void TRX_enter unsigned int  exc,
TRX_cb_Routine  rtn
 

Record entrance to an exception.

Parameters:
exc (in) Exception number being entered
rtn (in) Trace callback routine to use

void TRX_exit unsigned int  exc,
TRX_cb_Routine  rtn
 

Record entrance to an exception.

Parameters:
exc (in) Exception number being exited
rtn (in) Trace callback routine to use

void TRX_select unsigned int  msk,
unsigned int  val
 

Selective set and clear of exceptions to trace.

Parameters:
msk (in) Mask of exceptions to touch
val (in) Values to set masked bits to

void TRX_setCallback TRX_cb_Routine rtn  ) 
 

Configure the insert-into-trace callback routine.

Parameters:
rtn (in) The trace insertion routine (usually TRC_record())
Exception tracing can be disabled by setting the callback routine to NULL.

TRX_cb_Routine* TRX_shouldCall unsigned int  exc  ) 
 

Determine if this exception should create trace entries.

Parameters:
exc (in) Exception number to examine
Return values:
NULL Exception should not generate trace records
x Exception should generate trace records (using this routine)


Generated on Wed Dec 20 04:19:50 2006 by  doxygen 1.4.4