Percepio Trace Recorder
v4.6.6
|
Macros | |
#define | xTraceObjectSetState(xObjectHandle, uxState) xTraceObjectSetSpecificState(xObjectHandle, 0, uxState) |
Sets trace object state. More... | |
#define | xTraceObjectSetSpecificState(xObjectHandle, uiIndex, uxState) xTraceEntrySetState((TraceEntryHandle_t)(xObjectHandle), uiIndex, uxState) |
Sets trace object specific state state. More... | |
#define | xTraceObjectSetOptions(xObjectHandle, uiOptions) xTraceEntrySetOptions((TraceEntryHandle_t)(xObjectHandle), uiOptions) |
Sets trace object options. More... | |
#define | xTraceObjectSetStateWithoutHandle(pvObject, uxState) xTraceObjectSetSpecificStateWithoutHandle(pvObject, 0, uxState) |
Set trace object state without trace object handle. More... | |
Functions | |
traceResult | xTraceObjectRegisterInternal (uint32_t uiEventCode, void *pvObject, const char *szName, TraceUnsignedBaseType_t uxStateCount, TraceUnsignedBaseType_t uxStates[], TraceUnsignedBaseType_t uxOptions, TraceObjectHandle_t *pxObjectHandle) |
Registers trace object. More... | |
traceResult | xTraceObjectRegister (uint32_t uiEventCode, void *pvObject, const char *szName, TraceUnsignedBaseType_t uxState, TraceObjectHandle_t *pxObjectHandle) |
Registers trace object. More... | |
traceResult | xTraceObjectUnregister (TraceObjectHandle_t xObjectHandle, uint32_t uiEventCode, TraceUnsignedBaseType_t uxState) |
Unregisters trace object. More... | |
traceResult | xTraceObjectSetName (TraceObjectHandle_t xObjectHandle, const char *szName) |
Sets trace object name. More... | |
traceResult | xTraceObjectRegisterWithoutHandle (uint32_t uiEventCode, void *pvObject, const char *szName, TraceUnsignedBaseType_t uxState) |
Registers trace object without trace object handle. More... | |
traceResult | xTraceObjectUnregisterWithoutHandle (uint32_t uiEventCode, void *pvObject, TraceUnsignedBaseType_t uxState) |
Unregisters trace object without trace object handle. More... | |
traceResult | xTraceObjectSetNameWithoutHandle (void *pvObject, const char *szName) |
Set trace object name without trace object handle. More... | |
traceResult | xTraceObjectSetSpecificStateWithoutHandle (void *pvObject, uint32_t uiIndex, TraceUnsignedBaseType_t uxState) |
Sets trace object specific state without trace object handle. More... | |
traceResult | xTraceObjectSetOptionsWithoutHandle (void *pvObject, uint32_t uiOptions) |
Sets trace object options without trace object handle. More... | |
#define xTraceObjectSetOptions | ( | xObjectHandle, | |
uiOptions | |||
) | xTraceEntrySetOptions((TraceEntryHandle_t)(xObjectHandle), uiOptions) |
Sets trace object options.
[in] | xObjectHandle | Pointer to initialized trace object. |
[in] | uiOptions | Options. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
#define xTraceObjectSetSpecificState | ( | xObjectHandle, | |
uiIndex, | |||
uxState | |||
) | xTraceEntrySetState((TraceEntryHandle_t)(xObjectHandle), uiIndex, uxState) |
Sets trace object specific state state.
[in] | xObjectHandle | Pointer to initialized trace object. |
[in] | uiIndex | State Index. |
[in] | uxState | State. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
#define xTraceObjectSetState | ( | xObjectHandle, | |
uxState | |||
) | xTraceObjectSetSpecificState(xObjectHandle, 0, uxState) |
Sets trace object state.
[in] | xObjectHandle | Pointer to initialized trace object. |
[in] | uxState | State. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
#define xTraceObjectSetStateWithoutHandle | ( | pvObject, | |
uxState | |||
) | xTraceObjectSetSpecificStateWithoutHandle(pvObject, 0, uxState) |
Set trace object state without trace object handle.
[in] | pvObject | Object. |
[in] | uxState | State. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
traceResult xTraceObjectRegister | ( | uint32_t | uiEventCode, |
void * | pvObject, | ||
const char * | szName, | ||
TraceUnsignedBaseType_t | uxState, | ||
TraceObjectHandle_t * | pxObjectHandle | ||
) |
Registers trace object.
[in] | uiEventCode | Event code. |
[in] | pvObject | Object. |
[in] | szName | Name. |
[in] | uxState | State. |
[out] | pxObjectHandle | Pointer to uninitialized trace object. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
traceResult xTraceObjectRegisterInternal | ( | uint32_t | uiEventCode, |
void * | pvObject, | ||
const char * | szName, | ||
TraceUnsignedBaseType_t | uxStateCount, | ||
TraceUnsignedBaseType_t | uxStates[], | ||
TraceUnsignedBaseType_t | uxOptions, | ||
TraceObjectHandle_t * | pxObjectHandle | ||
) |
Registers trace object.
[in] | uiEventCode | Event code. |
[in] | pvObject | Object. |
[in] | szName | Name. |
[in] | uxStateCount | State count. |
[in] | uxStates | States. |
[in] | uxOptions | Options. |
[out] | pxObjectHandle | Pointer to uninitialized trace object. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
traceResult xTraceObjectRegisterWithoutHandle | ( | uint32_t | uiEventCode, |
void * | pvObject, | ||
const char * | szName, | ||
TraceUnsignedBaseType_t | uxState | ||
) |
Registers trace object without trace object handle.
[in] | uiEventCode | Event code. |
[in] | pvObject | Object. |
[in] | szName | Name. |
[in] | uxState | State. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
traceResult xTraceObjectSetName | ( | TraceObjectHandle_t | xObjectHandle, |
const char * | szName | ||
) |
Sets trace object name.
[in] | xObjectHandle | Pointer to initialized trace object. |
[in] | szName | Name. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
traceResult xTraceObjectSetNameWithoutHandle | ( | void * | pvObject, |
const char * | szName | ||
) |
Set trace object name without trace object handle.
[in] | pvObject | Object. |
[in] | szName | Name. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
traceResult xTraceObjectSetOptionsWithoutHandle | ( | void * | pvObject, |
uint32_t | uiOptions | ||
) |
Sets trace object options without trace object handle.
[in] | pvObject | Object. |
[in] | uiOptions | Options. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
traceResult xTraceObjectSetSpecificStateWithoutHandle | ( | void * | pvObject, |
uint32_t | uiIndex, | ||
TraceUnsignedBaseType_t | uxState | ||
) |
Sets trace object specific state without trace object handle.
[in] | pvObject | Object. |
[in] | uiIndex | State index. |
[in] | uxState | State. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
traceResult xTraceObjectUnregister | ( | TraceObjectHandle_t | xObjectHandle, |
uint32_t | uiEventCode, | ||
TraceUnsignedBaseType_t | uxState | ||
) |
Unregisters trace object.
[in] | xObjectHandle | Pointer to initialized trace object. |
[in] | uiEventCode | Event code. |
[in] | uxState | State. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |
traceResult xTraceObjectUnregisterWithoutHandle | ( | uint32_t | uiEventCode, |
void * | pvObject, | ||
TraceUnsignedBaseType_t | uxState | ||
) |
Unregisters trace object without trace object handle.
[in] | uiEventCode | Event code. |
[in] | pvObject | Object. |
[in] | uxState | State. |
TRC_FAIL | Failure |
TRC_SUCCESS | Success |