GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > TRC / V0-0-0
Constituent: trc     Tag: mv2304
#include <string.h>
#include "PBS/PTS.h"
#include "PBS/RW.ih"
#include "MDB/MDB_pubdefs.h"
#include "TRC/TRC_msgs.h"
#include "TRC_prvrtos.h"
Include dependency graph for TRC_snap.c:
Functions | |
unsigned int | TRC_copyTrace (TRC_Trace *snap, unsigned int reason) |
Workhorse to actually copy a trace snapshot. | |
unsigned int | TRC_freeSnap (TRC_LSFtype type) |
Free a fork message for reuse. | |
unsigned int | TRC_sampleTime () |
Place a time correlation record in the trace buffer header. | |
unsigned int | TRC_setFork (FORK_que *fqi, FORK_cb_rtn rtn) |
Set up a destination fork queue for snapshot requests. | |
unsigned int | TRC_setRate (unsigned rate) |
unsigned int | TRC_sizeofSnap () |
Return the buffer size needed to take a trace snapshot (bytes). | |
unsigned int | TRC_snapStack (unsigned int dest, unsigned int reason, int tdb) |
Make a snapshot of a task's stack. | |
unsigned int | TRC_snapTrace (unsigned int dest, unsigned int reason, unsigned int fui, TRC_TraceUser *dat) |
Make a snapshot of the current state of the trace blob. | |
Variables | |
TRC_ForkMsg | TRC_forkMsg [TRC_L_MSG_TYPES] |
Preallocated fork messages. |
CVS $Id: TRC_snap.c,v 1.1.1.1 2006/12/20 00:44:59 apw Exp $
|
Workhorse to actually copy a trace snapshot.
|
|
Free a fork message for reuse.
|
|
Place a time correlation record in the trace buffer header.
|
|
Set up a destination fork queue for snapshot requests.
|
|
Return the buffer size needed to take a trace snapshot (bytes).
|
|
Make a snapshot of a task's stack.
|
|
Make a snapshot of the current state of the trace blob.
When taking a snapshot of the trace buffer, this routine will insert a record to indicate the time at which the snapshot was taken. This amounts to making a call to TRC_record() and the fmt and dat parameters to this routine are simply passed through to the TRC_record() call, to allow the caller of this routine do "individualize" the inserted trace record. |