|
Percepio Trace Recorder v4.11.0
|
Macros | |
| #define | xTraceObjectGetAddress(xObjectHandle, ppvAddress) |
| Gets trace object address. | |
| #define | pvTraceObjectGetAddressReturn(xObjectHandle) |
| Returns trace object address. | |
| #define | xTraceObjectGetName(xObjectHandle, pszName) |
| Gets trace object name. | |
| #define | xTraceObjectSetState(xObjectHandle, uxState) |
| Sets trace object state. | |
| #define | xTraceObjectSetSpecificState(xObjectHandle, uiIndex, uxState) |
| Sets trace object specific state. | |
| #define | xTraceObjectGetSpecificState(xObjectHandle, uiIndex, puxState) |
| Gets trace object specific state. | |
| #define | xTraceObjectSetOptions(xObjectHandle, uiOptions) |
| Sets trace object options. | |
| #define | xTraceObjectSetStateWithoutHandle(pvObject, uxState) |
| Set trace object state without trace object handle. | |
| #define | xTraceObjectFind(pvObject, pxObjectHandle) |
| Get the TraceObjectHandle_t of the object. | |
Functions | |
| traceResult | xTraceObjectRegisterInternal (uint32_t uiEventCode, void *const pvObject, const char *szName, TraceUnsignedBaseType_t uxStateCount, const TraceUnsignedBaseType_t uxStates[], TraceUnsignedBaseType_t uxOptions, TraceObjectHandle_t *pxObjectHandle) |
| Registers trace object. | |
| traceResult | xTraceObjectRegister (uint32_t uiEventCode, void *const pvObject, const char *szName, TraceUnsignedBaseType_t uxState, TraceObjectHandle_t *pxObjectHandle) |
| Registers trace object. | |
| traceResult | xTraceObjectRegister2 (uint32_t uiEventCode, void *const pvObject, const char *szName, TraceUnsignedBaseType_t uxState1, TraceUnsignedBaseType_t uxState2, TraceObjectHandle_t *pxObjectHandle) |
| Registers trace object with two initial states. | |
| traceResult | xTraceObjectUnregister (TraceObjectHandle_t xObjectHandle, uint32_t uiEventCode, TraceUnsignedBaseType_t uxState) |
| Unregisters trace object. | |
| traceResult | xTraceObjectSetName (TraceObjectHandle_t xObjectHandle, const char *szName) |
| Sets trace object name. | |
| traceResult | xTraceObjectRegisterWithoutHandle (uint32_t uiEventCode, void *pvObject, const char *szName, TraceUnsignedBaseType_t uxState) |
| Registers trace object without trace object handle. | |
| traceResult | xTraceObjectRegisterWithoutHandle2 (uint32_t uiEventCode, void *pvObject, const char *szName, TraceUnsignedBaseType_t uxState1, TraceUnsignedBaseType_t uxState2) |
| Registers trace object with two initial states without trace object handle. | |
| traceResult | xTraceObjectUnregisterWithoutHandle (uint32_t uiEventCode, void *pvObject, TraceUnsignedBaseType_t uxState) |
| Unregisters trace object without trace object handle. | |
| traceResult | xTraceObjectSetNameWithoutHandle (void *pvObject, const char *szName) |
| Set trace object name without trace object handle. | |
| traceResult | xTraceObjectSetSpecificStateWithoutHandle (void *pvObject, uint32_t uiIndex, TraceUnsignedBaseType_t uxState) |
| Sets trace object specific state without trace object handle. | |
| traceResult | xTraceObjectSetOptionsWithoutHandle (void *pvObject, uint32_t uiOptions) |
| Sets trace object options without trace object handle. | |
| #define pvTraceObjectGetAddressReturn | ( | xObjectHandle | ) |
Returns trace object address.
| [in] | xObjectHandle | Object handle. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceObjectFind | ( | pvObject, | |
| pxObjectHandle ) |
Get the TraceObjectHandle_t of the object.
| [in] | pvObject | Object. |
| [out] | pxObjectHandle | Pointer to returned object handle. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceObjectGetAddress | ( | xObjectHandle, | |
| ppvAddress ) |
Gets trace object address.
| [in] | xObjectHandle | Object handle. |
| [out] | ppvAddress | Pointer to returned task address. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceObjectGetName | ( | xObjectHandle, | |
| pszName ) |
Gets trace object name.
| [in] | xObjectHandle | Pointer to initialized trace object. |
| [out] | pszName | Pointer to name variable. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceObjectGetSpecificState | ( | xObjectHandle, | |
| uiIndex, | |||
| puxState ) |
Gets trace object specific state.
| [in] | xObjectHandle | Pointer to initialized trace object. |
| [in] | uiIndex | State Index. |
| [out] | puxState | Pointer to state. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceObjectSetOptions | ( | 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 ) |
Sets trace object specific 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 ) |
Sets trace object state.
| [in] | xObjectHandle | Pointer to initialized trace object. |
| [in] | uxState | State. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| #define xTraceObjectSetStateWithoutHandle | ( | pvObject, | |
| 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 *const | 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 xTraceObjectRegister2 | ( | uint32_t | uiEventCode, |
| void *const | pvObject, | ||
| const char * | szName, | ||
| TraceUnsignedBaseType_t | uxState1, | ||
| TraceUnsignedBaseType_t | uxState2, | ||
| TraceObjectHandle_t * | pxObjectHandle ) |
Registers trace object with two initial states.
| [in] | uiEventCode | Event code. |
| [in] | pvObject | Object. |
| [in] | szName | Name. |
| [in] | uxState1 | State 1. |
| [in] | uxState2 | State 2. |
| [out] | pxObjectHandle | Pointer to uninitialized trace object. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| traceResult xTraceObjectRegisterInternal | ( | uint32_t | uiEventCode, |
| void *const | pvObject, | ||
| const char * | szName, | ||
| TraceUnsignedBaseType_t | uxStateCount, | ||
| const 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 xTraceObjectRegisterWithoutHandle2 | ( | uint32_t | uiEventCode, |
| void * | pvObject, | ||
| const char * | szName, | ||
| TraceUnsignedBaseType_t | uxState1, | ||
| TraceUnsignedBaseType_t | uxState2 ) |
Registers trace object with two initial states without trace object handle.
| [in] | uiEventCode | Event code. |
| [in] | pvObject | Object. |
| [in] | szName | Name. |
| [in] | uxState1 | State 1. |
| [in] | uxState2 | State 2. |
| 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 |