GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> TRD / V0-0-3 > trd / rad750
#include <string.h>
#include <FBS/FBS_pubrtos.h>
#include <MDB/MDB_pubdefs.h>
#include <PBS/MBA.h>
#include <PBS/RW.ih>
#include <PBS/MTX.h>
#include <TRD/TRD_msgs.h>
#include <TRD/TRD_pubdefs.h>
#include <TRD_prvdefs.h>
Functions | |
unsigned int | TRD_initialize () |
Initialize the tracing facility. | |
Variables | |
TRD_Control * | TRD_tcb |
Pointer to trace control block (initialized to NULL). |
CVS $Id: TRD_control.c,v 1.2 2011/03/28 21:41:07 apw Exp $
unsigned int TRD_initialize | ( | void | ) |
Initialize the tracing facility.
TRD_ADDHOOK | Cannot add task switch hook routine | |
TRD_ALLOCMEM | Cannot allocate memory | |
TRD_ALLOCMTX | Cannot allocate mutex | |
TRD_BADSTATE | Invalid state for operation | |
TRD_SUCCESS | Success |
References _TRD_Control::buf, _TRD_Control::db, _TRD_Control::fak, _TRD_Control::mtx, _TRD_Control::rwi, _TRD_Control::sib, _TRD_Control::state, TRD_CTL_BROKEN, TRD_CTL_INITIALIZED, TRD_CTL_UNINITIALIZED, and TRD_fakeTffsRawio().