LOG_reset
2-194
C Interface
Syntax
LOG_reset(log);
Parameters
LOG_Handle log /* log object handle */
Return Value
Void
Reentrant
no
Description
LOG_reset enables the logging mechanism and allows the log buffer to
be modified starting from the beginning of the buffer, with sequence
number starting from 0.
LOG_reset does not disable interrupts or otherwise protect the log from
being modified by an HWI or other thread. It is therefore possible for the
log to contain inconsistent data if LOG_reset is preempted by an HWI or
other thread that uses the same log.
Example
LOG_reset(&trace);
See Also
LOG_reset
Reset a message log