| struct BufferUpload_Packet |
 |
typedef struct BufferUpload_Packet {
Bits32 arg0;
Bits32 arg1;
} BufferUpload_Packet;
| config BufferUpload_LD_cmdRcvd // module-wide |
 |
Logged when the Rta receives a command
extern const Log_Event BufferUpload_LD_cmdRcvd;
| config BufferUpload_LD_recordsSent // module-wide |
 |
Logged on every packet is sent call from the Rta
extern const Log_Event BufferUpload_LD_recordsSent;
| config BufferUpload_periodInMs // module-wide |
 |
Period in miliseconds of the BufferUpload Transfer Agent Task
extern const Int BufferUpload_periodInMs;
DETAILS
Configures how often the BufferUpload should collect events. The minimum
value is 100ms.
This value does not guarantee that the collection will run
at this rate. Even if the period has expired, the collection
will not occur until the current running Task has yielded and there
are no other higher priority Tasks ready.
Setting the period to 0, disables all collection of events. There
must be a setPeriod message sent from an instrumentation host to
BufferUpload to enable it.
Default is 100 milliseconds.
| BufferUpload_disableAllBuffers() // module-wide |
 |
Function to disable all the buffer packetizers being processed by BufferUpload
Void BufferUpload_disableAllBuffers();
DETAILS
Runtime function to disable all the logs that are being
processed/read by BufferUpload. When disabled, all new Etb records
are discarded.
Please realize that external instrumentation host (e.g.
System Analyzer) might be sending down similar requests.
| BufferUpload_enableAllBuffers() // module-wide |
 |
Function to enable all the buffer packetizers being processed by BufferUpload
Void BufferUpload_enableAllBuffers();
DETAILS
Runtime function to enable disable all the logs that are being
processed/read by BufferUpload.
Please realize that external instrumentation host (e.g.
System Analyzer) might be sending down similar requests
| BufferUpload_isDataTx() // module-wide |
 |
returns true if DataTx is active
Bool BufferUpload_isDataTx();
| BufferUpload_packetBufferExchange() // module-wide |
 |
Exchange function called by the buffer packetizer when it has
a packet of buffer data ready to send
Ptr BufferUpload_packetBufferExchange(Ptr hBufferPacketizer, Ptr full);
| BufferUpload_resetAllBuffers() // module-wide |
 |
Function to reset all the buffer packetizers being processed by BufferUpload
Void BufferUpload_resetAllBuffers();
DETAILS
Runtime function to enable resets all the buffer packetizers that are being
processed/read by BufferUpload.
The state of the buffer packetizers (e.g. enabled or disabled) are not changed.
Please realize that external instrumentation host (e.g.
System Analyzer) might be sending down similar requests
| BufferUpload_snapshotAllBuffers() // module-wide |
 |
Function to delay processing of the BufferUpload service
Void BufferUpload_snapshotAllBuffers(UArg reset, UArg waitPeriod);
ARGUMENTS
reset
Flag to denote whether to reset the etbs or not.
TRUE means reset all the etbs processed by BufferUpload.
FALSE means do not reset any of the etbs processed
by BufferUpload.
waitPeriod
Duration in milliseconds to wait to run the BufferUpload
service.
DETAILS
This function informs BufferUpload to delay for the specified waitPeriod (in ms).
After the waitPeriod has expired, BufferUpload will process all the etbs
that it manages. The state of BufferUpload (e.g. started or stopped) will
be maintained after the waitPeriod is expired and all the logs
processed.
The reset flag determines whether to reset all the etbs at the
start of the waitPeriod (true -> reset). The state of the etbs
(e.g. enabled or disabled) is not changed by this flag.
| BufferUpload_startDataTx() // module-wide |
 |
Function to start the BufferUpload service
Void BufferUpload_startDataTx();
DETAILS
This function allows the BufferUpload service to be turned on.
Please realize that external instrumentation host (e.g.
System Analyzer) might be sending down similar requests
| BufferUpload_stopDataTx() // module-wide |
 |
Function to stop the BufferUpload service
Void BufferUpload_stopDataTx();
DETAILS
This function allows the BufferUpload service to be turned off.
Please realize that external instrumentation host (e.g.
System Analyzer) might be sending down similar requests
| Module-Wide Built-Ins |
 |
// Get this module's unique id
Bool BufferUpload_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool BufferUpload_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 BufferUpload_Module_getMask();
// Returns the diagnostics mask for this module
Void BufferUpload_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module