|
Percepio Trace Recorder v4.11.0
|
Data Structures | |
| struct | TraceEntry |
Typedefs | |
| typedef struct TraceEntry | TraceEntry_t |
Functions | |
| traceResult | xTraceEntryCreate (TraceEntryHandle_t *pxEntryHandle) |
| Creates trace entry. | |
| traceResult | xTraceEntryDelete (TraceEntryHandle_t xEntryHandle) |
| Deletes trace entry. | |
| traceResult | xTraceEntryFind (const void *const pvAddress, TraceEntryHandle_t *pxEntryHandle) |
| Finds trace entry mapped to object address. | |
| traceResult | xTraceEntryGetCount (uint32_t *puiCount) |
| Gets the number of entries in the trace entry table. | |
| traceResult | xTraceEntryGetAtIndex (uint32_t index, TraceEntryHandle_t *pxEntryHandle) |
| Gets trace table entry at index. | |
| traceResult | xTraceEntrySetSymbol (const TraceEntryHandle_t xEntryHandle, const char *szSymbol, uint32_t uiLength) |
| Sets symbol for entry. | |
| typedef struct TraceEntry TraceEntry_t |
Trace Entry Structure
| traceResult xTraceEntryCreate | ( | TraceEntryHandle_t * | pxEntryHandle | ) |
Creates trace entry.
| [out] | pxEntryHandle | Pointer to uninitialized trace entry handle. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| traceResult xTraceEntryDelete | ( | TraceEntryHandle_t | xEntryHandle | ) |
Deletes trace entry.
| [in] | xEntryHandle | Pointer to initialized trace entry handle. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| traceResult xTraceEntryFind | ( | const void *const | pvAddress, |
| TraceEntryHandle_t * | pxEntryHandle ) |
Finds trace entry mapped to object address.
| [in] | pvAddress | Address of object. |
| [out] | pxEntryHandle | Pointer to uninitialized trace entry handle. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| traceResult xTraceEntryGetAtIndex | ( | uint32_t | index, |
| TraceEntryHandle_t * | pxEntryHandle ) |
Gets trace table entry at index.
| [in] | index | Entry index. |
| [out] | pxEntryHandle | Pointer to uninitialized trace entry handle. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| traceResult xTraceEntryGetCount | ( | uint32_t * | puiCount | ) |
Gets the number of entries in the trace entry table.
| [out] | puiCount | Count. |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |
| traceResult xTraceEntrySetSymbol | ( | const TraceEntryHandle_t | xEntryHandle, |
| const char * | szSymbol, | ||
| uint32_t | uiLength ) |
Sets symbol for entry.
| [in] | xEntryHandle | Pointer to initialized trace entry handle. |
| [in] | szSymbol | Pointer to symbol string, set by function |
| [in] | uiLength | Symbol length |
| TRC_FAIL | Failure |
| TRC_SUCCESS | Success |