GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QLSW / V1-0-0

Constituent: qlsw     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QLSW_dump.c File Reference

Dump facilities for a trace block. More...

#include <stdio.h>
#include <string.h>
#include <time.h>
#include "FBS/FBS_pubrtos.h"
#include "PBI/Endianness.h"
#include "MDB/MDB_pubdefs.h"
#include "TRC/TRC_pubdefs.h"
#include "QLSW/QLSW_pubdefs.h"
#include "QLSW/QLSW_msgs.h"
#include "TRC_prvdefs.h"
#include <fcntl.h>
#include <unistd.h>
#include "QLSW_dump.c.ux-xxx-xxx"

Include dependency graph for QLSW_dump.c:


Functions

static QLSW_cb_TraceDispatchdiscover (unsigned int dsp)
 Try to find a trace line dispatch routine.
void QLSW_dumpCommon (const TRC_Buffer *trc)
 Dump the trace common area.
void QLSW_dumpDefault (unsigned int dsp, unsigned int msg, unsigned int tdb, unsigned int usr, const unsigned int *dat)
 Routine to a record "raw".
void QLSW_dumpTrace (const TRC_Buffer *trc)
 Dump the trace body (the real thing).
void QLSW_dumpTraceHeader (const TRC_Buffer *trc)
 Dump the trace header block.
const char * QLSW_getTaskName (const TRC_Buffer *trc, unsigned int tdb)
 Translate task ID to name.

Variables

QLSW_cb_TraceDispatchdispatch [256]
 Trace line dispatch table.
static const char s_noData [TRC_DATA_ROW_SIZE<< 2] = { TRC_DAT_NODATA }
 Data recorded when the user specifies a NULL data pointer.
static const char s_misaligned [TRC_DATA_ROW_SIZE<< 2] = { TRC_DAT_MISALIGN }
 Data recorded when the user specifies a misaligned data pointer.
static const char s_ruleEqual [] = { "======================================" }
 Static string used in formatting dumps.
static const char s_ruleMinus [] = { "--------------------------------------" }
 Static string used in formatting dumps.
static const char s_null [] = { "" }
 An empty string.

Detailed Description

Dump facilities for a trace block.

CVS $Id: QLSW_dump.c,v 1.2 2007/03/22 02:03:38 apw Exp $
Author:
A.P.Waite

Function Documentation

static QLSW_cb_TraceDispatch * discover unsigned int  dsp  )  [static]
 

Try to find a trace line dispatch routine.

Parameters:
dsp (in) Dispatch index

void QLSW_dumpCommon const TRC_Buffer *  trc  ) 
 

Dump the trace common area.

Parameters:
trc Pointer to the trace header buffer

void QLSW_dumpTrace const TRC_Buffer *  trc  ) 
 

Dump the trace body (the real thing).

Parameters:
trc Pointer to the trace header buffer

void QLSW_dumpTraceHeader const TRC_Buffer *  trc  ) 
 

Dump the trace header block.

Parameters:
trc Pointer to the trace header buffer

const char * QLSW_getTaskName const TRC_Buffer *  trc,
unsigned int  tdb
 

Translate task ID to name.

Parameters:
trc (in) Trace buffer
tdb (in) Task index (in CPU_DB/ITC space)
Return a task name corresponding to the given task index (in CPU_DB/ITC space). Always return a valid pointer (even it's just pointing to a zero length string).


Generated on Thu Mar 22 03:59:31 2007 by  doxygen 1.4.4