GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QLSW / V0-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 blob. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <fcntl.h>
#include <malloc.h>
#include <unistd.h>
#include "PBI/Endianness.h"
#include "PBS/BSWP.ih"
#include "MDB/MDB_pubdefs.h"
#include "FBS/FBS_pubrtos.h"
#include "QLSW/QLSW_pubdefs.h"
#include "QLSW/QLSW_msgs.h"
#include "QLSW_prvdefs.h"
#include "TRC_prvdefs.h"

Include dependency graph for QLSW_dump.c:


Functions

static void dumpTraceTitle ()
 Print titles for the trace dump.
void QLSW_dumpTraceHeader (const TRC_Trace *trc)
 Dump the trace header block.
void QLSW_dumpTraceRaw (const TRC_Trace *trc)
 Dump the trace body (the real thing).
void QLSW_dumpTraceTask (const TRC_Trace *trc)
 Dump the trace task-to-name block.
void QLSW_dumpTraceBody (const TRC_Trace *trc, unsigned int opt)
 Dump the trace body (the real thing).
void QLSW_freeTrace (TRC_Trace *trc)
 Free the memory holding the trace blob.
unsigned int QLSW_readTrace (TRC_Trace **trc, const char *fil)
 Read a trace from a file.
unsigned int QLSW_writeTrace (const TRC_Trace *trc, const char *fil)
 Write a watchdog trace blob to file.

Variables

static const char ruleEqual [] = { "======================================" }
 Static string used in formatting dumps.
static const char ruleMinus [] = { "--------------------------------------" }
 Static string used in formatting dumps.

Detailed Description

Dump facilities for a trace blob.

CVS $Id: QLSW_dump.c,v 1.1.1.1 2006/12/20 01:45:11 apw Exp $
Author:
A.P.Waite

Function Documentation

void QLSW_dumpTraceBody const TRC_Trace *  trc,
unsigned int  opt
 

Dump the trace body (the real thing).

Parameters:
trc Pointer to the trace header block
opt Options

void QLSW_dumpTraceHeader const TRC_Trace *  trc  ) 
 

Dump the trace header block.

Parameters:
trc Pointer to the trace header block

void QLSW_dumpTraceRaw const TRC_Trace *  trc  ) 
 

Dump the trace body (the real thing).

Parameters:
trc Pointer to the trace header block

void QLSW_dumpTraceTask const TRC_Trace *  trc  ) 
 

Dump the trace task-to-name block.

Parameters:
trc Pointer to the trace header block

void QLSW_freeTrace TRC_Trace *  trc  ) 
 

Free the memory holding the trace blob.

Parameters:
trc Pointer to the trace blob

unsigned int QLSW_readTrace TRC_Trace **  trc,
const char *  fil
 

Read a trace from a file.

Parameters:
trc Pointer to the trace blob (returned)
fil Filename to read from

unsigned int QLSW_writeTrace const TRC_Trace *  trc,
const char *  fil
 

Write a watchdog trace blob to file.

Parameters:
trc Pointer to the trace header block
fil Filename to write to


Generated on Wed Dec 20 04:47:12 2006 by  doxygen 1.4.4