/percepio-3.5.0/DFM/include/ |
D | dfmEntry.h | 137 DfmResult_t xDfmEntryGetSize(DfmEntryHandle_t xEntryHandle, uint32_t* pulSize); 148 DfmResult_t xDfmEntryGetStartMarkers(DfmEntryHandle_t xEntryHandle, uint8_t** pucMarkersBuffer); 159 DfmResult_t xDfmEntryGetEndianess(DfmEntryHandle_t xEntryHandle, uint16_t* pusEndianess); 170 DfmResult_t xDfmEntryGetVersion(DfmEntryHandle_t xEntryHandle, uint16_t* pusVersion); 181 DfmResult_t xDfmEntryGetType(DfmEntryHandle_t xEntryHandle, uint16_t* pusType); 192 DfmResult_t xDfmEntryGetEntryId(DfmEntryHandle_t xEntryHandle, uint16_t* pusEntryId); 203 DfmResult_t xDfmEntryGetChunkIndex(DfmEntryHandle_t xEntryHandle, uint16_t* pusChunkIndex); 214 DfmResult_t xDfmEntryGetChunkCount(DfmEntryHandle_t xEntryHandle, uint16_t* pusChunkCount); 225 DfmResult_t xDfmEntryGetSessionIdSize(DfmEntryHandle_t xEntryHandle, uint16_t* pusSize); 236 DfmResult_t xDfmEntryGetDeviceNameSize(DfmEntryHandle_t xEntryHandle, uint16_t* pusSize); [all …]
|
D | dfmCloud.h | 59 DfmResult_t xDfmCloudSendAlert(DfmEntryHandle_t xEntryHandle); 69 DfmResult_t xDfmCloudSendPayloadChunk(DfmEntryHandle_t xEntryHandle); 82 …har* cTopicBuffer, uint32_t ulBufferSize, const char* szMQTTPrefix, DfmEntryHandle_t xEntryHandle); 89 #define xDfmCloudSendAlert(xEntryHandle) (DFM_FAIL) 90 #define xDfmCloudSendPayloadChunk(xEntryHandle) (DFM_FAIL) 91 #define xDfmCloudGenerateMQTTTopic(cTopicBuffer, ulBufferSize, xEntryHandle) (DFM_FAIL)
|
D | dfmStorage.h | 83 DfmResult_t xDfmStorageStoreAlert(DfmEntryHandle_t xEntryHandle); 104 DfmResult_t xDfmStorageStorePayloadChunk(DfmEntryHandle_t xEntryHandle); 124 #define xDfmStorageStoreAlert(xEntryHandle) (DFM_FAIL) 126 #define xDfmStorageStorePayloadChunk(xEntryHandle) (DFM_FAIL)
|
/percepio-3.5.0/TraceRecorder/include/ |
D | trcEntryTable.h | 35 …efine TRC_ENTRY_SET_STATE(xEntryHandle, uxStateIndex, uxState) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(… argument 36 #define TRC_ENTRY_SET_OPTIONS(xEntryHandle, uiMask) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(((TraceEntry… argument 37 #define TRC_ENTRY_CLEAR_OPTIONS(xEntryHandle, uiMask) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(((TraceEnt… argument 38 … TRC_ENTRY_GET_ADDRESS(xEntryHandle, ppvAddress) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(ppvAddress) … argument 39 …ne TRC_ENTRY_GET_SYMBOL(xEntryHandle, pszSymbol) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(pszSymbol) =… argument 40 …C_ENTRY_GET_STATE(xEntryHandle, uxStateIndex, puxState) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puxSt… argument 41 #define TRC_ENTRY_GET_STATE_RETURN(xEntryHandle, uxStateIndex) (((TraceEntry_t*)(xEntryHandle))->xS… argument 42 … TRC_ENTRY_GET_OPTIONS(xEntryHandle, puiOptions) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puiOptions) … argument 128 traceResult xTraceEntryDelete(TraceEntryHandle_t xEntryHandle); 172 traceResult xTraceEntrySetSymbol(const TraceEntryHandle_t xEntryHandle, const char* szSymbol, uint3… [all …]
|
/percepio-3.5.0/TraceRecorder/ |
D | trcEntryTable.c | 18 …ine VALIDATE_ENTRY_HANDLE(xEntryHandle) (((void*)(xEntryHandle) >= (void*)&pxEntryTable->axEntries… argument 27 #define CALCULATE_ENTRY_INDEX(xEntryHandle) (TraceEntryIndex_t)(((TraceUnsignedBaseType_t)(xEntryHa… argument 125 traceResult xTraceEntryDelete(TraceEntryHandle_t xEntryHandle) in xTraceEntryDelete() argument 135 …TRC_ASSERT(VALIDATE_ENTRY_HANDLE(xEntryHandle)); /*cstat !MISRAC2004-17.3 !MISRAC2012-Rule-18.3 Su… in xTraceEntryDelete() 140 …xIndex = CALCULATE_ENTRY_INDEX(xEntryHandle); /*cstat !MISRAC2004-11.3 !MISRAC2012-Rule-11.4 Suppr… in xTraceEntryDelete() 146 if (((TraceEntry_t*)xEntryHandle)->pvAddress == 0) in xTraceEntryDelete() 156 ((TraceEntry_t*)xEntryHandle)->pvAddress = 0; in xTraceEntryDelete() 195 traceResult xTraceEntrySetSymbol(const TraceEntryHandle_t xEntryHandle, const char* szSymbol, uint3… in xTraceEntrySetSymbol() argument 224 …TRC_ASSERT(VALIDATE_ENTRY_HANDLE(xEntryHandle)); /*cstat !MISRAC2004-17.3 !MISRAC2012-Rule-18.3 Su… in xTraceEntrySetSymbol() 229 …((uint32_t*)(((TraceEntry_t*)xEntryHandle)->szSymbol))[i] = ((const uint32_t*)szSymbol)[i]; /*cst… in xTraceEntrySetSymbol() [all …]
|
D | trcObject.c | 28 TraceEntryHandle_t xEntryHandle; in xTraceObjectRegisterInternal() local 46 if (xTraceEntryCreateWithAddress(pvObject, &xEntryHandle) == TRC_FAIL) in xTraceObjectRegisterInternal() 58 if (xTraceEntryCreate(&xEntryHandle) == TRC_FAIL) in xTraceObjectRegisterInternal() 65 TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntryGetAddress(xEntryHandle, &pvAddress) == TRC_SUCCESS); in xTraceObjectRegisterInternal() 71 …TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetState(xEntryHandle, (uint32_t)i, uxStates[i]) == TRC_SUCC… in xTraceObjectRegisterInternal() 75 …TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetOptions(xEntryHandle, (uint32_t)uxOptions) == TRC_SUCCESS… in xTraceObjectRegisterInternal() 77 *pxObjectHandle = (TraceObjectHandle_t)xEntryHandle; in xTraceObjectRegisterInternal() 86 …TRC_ASSERT_ALWAYS_EVALUATE(xTraceObjectSetName((TraceObjectHandle_t)xEntryHandle, szName) == TRC_S… in xTraceObjectRegisterInternal() 185 TraceEntryHandle_t xEntryHandle; in xTraceObjectUnregisterWithoutHandle() local 192 if (xTraceEntryFind(pvObject, &xEntryHandle) == TRC_FAIL) in xTraceObjectUnregisterWithoutHandle() [all …]
|
D | trcRunnable.c | 22 TraceEntryHandle_t xEntryHandle; in xTraceRunnableRegister() local 43 if (xTraceEntryCreate(&xEntryHandle) == TRC_FAIL) in xTraceRunnableRegister() 48 …TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetOptions(xEntryHandle, TRC_ENTRY_OPTION_RUNNABLE) == TRC_S… in xTraceRunnableRegister() 50 …TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetState(xEntryHandle, TRC_RUNNABLE_STATE_INDEX_OWNER_TASK, … in xTraceRunnableRegister() 54 TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetSymbol(xEntryHandle, szName, uiLength) == TRC_SUCCESS); in xTraceRunnableRegister() 56 *pxRunnableHandle = (TraceRunnableHandle_t)xEntryHandle; in xTraceRunnableRegister()
|
D | trcString.c | 20 TraceEntryHandle_t xEntryHandle; in xTraceStringRegister() local 32 if (xTraceEntryCreate(&xEntryHandle) == TRC_FAIL) in xTraceStringRegister() 43 TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetSymbol(xEntryHandle, szString, uiLength) == TRC_SUCCESS); in xTraceStringRegister() 45 *pString = (TraceStringHandle_t)xEntryHandle; in xTraceStringRegister() 50 (void)xTraceEventAddPointer(xEventHandle, (void*)xEntryHandle); in xTraceStringRegister()
|
D | trcISR.c | 51 TraceEntryHandle_t xEntryHandle; in xTraceISRRegister() local 71 if (xTraceEntryCreate(&xEntryHandle) == TRC_FAIL) in xTraceISRRegister() 81 TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetSymbol(xEntryHandle, szName, uiLength) == TRC_SUCCESS); in xTraceISRRegister() 84 …TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetState(xEntryHandle, 0u, (TraceUnsignedBaseType_t)uiPriori… in xTraceISRRegister() 86 *pxISRHandle = (TraceISRHandle_t)xEntryHandle; in xTraceISRRegister() 91 (void)xTraceEventAddPointer(xEventHandle, (void*)xEntryHandle); in xTraceISRRegister()
|
/percepio-3.5.0/DFM/ |
D | dfmEntry.c | 54 static DfmResult_t prvDfmEntryVerify(DfmEntryHandle_t xEntryHandle); 64 static DfmResult_t prvDfmEntryVerify(DfmEntryHandle_t xEntryHandle) in prvDfmEntryVerify() argument 70 pxEntryHeader = (DfmEntryHeader_t*)xEntryHandle; in prvDfmEntryVerify() 72 if (xDfmEntryGetSize(xEntryHandle, &ulEntrySize) == DFM_FAIL) in prvDfmEntryVerify() 90 if (xDfmEntryGetEndMarkers(xEntryHandle, &cEndMarkers) == DFM_FAIL) in prvDfmEntryVerify() 541 DfmResult_t xDfmEntryGetSize(DfmEntryHandle_t xEntryHandle, uint32_t *pulSize) in xDfmEntryGetSize() argument 555 if (xEntryHandle == 0) in xDfmEntryGetSize() 565 pxEntryHeader = (DfmEntryHeader_t*)xEntryHandle; in xDfmEntryGetSize() 572 DfmResult_t xDfmEntryGetStartMarkers(DfmEntryHandle_t xEntryHandle, uint8_t** pucMarkersBuffer) in xDfmEntryGetStartMarkers() argument 586 if (xEntryHandle == 0) in xDfmEntryGetStartMarkers() [all …]
|
D | dfmCloud.c | 37 DfmResult_t xDfmCloudSendAlert(DfmEntryHandle_t xEntryHandle) in xDfmCloudSendAlert() argument 56 if (xEntryHandle == 0) in xDfmCloudSendAlert() 71 return xDfmCloudPortSendAlert(xEntryHandle); in xDfmCloudSendAlert() 74 DfmResult_t xDfmCloudSendPayloadChunk(DfmEntryHandle_t xEntryHandle) in xDfmCloudSendPayloadChunk() argument 93 if (xEntryHandle == 0) in xDfmCloudSendPayloadChunk() 108 return xDfmCloudPortSendPayloadChunk(xEntryHandle); in xDfmCloudSendPayloadChunk() 111 …char* cTopicBuffer, uint32_t ulBufferSize, const char* szMQTTPrefix, DfmEntryHandle_t xEntryHandle) in xDfmCloudGenerateMQTTTopic() argument 142 if (xEntryHandle == 0) in xDfmCloudGenerateMQTTTopic() 147 if (xDfmEntryGetSessionId(xEntryHandle, &szSessionId) == DFM_FAIL) in xDfmCloudGenerateMQTTTopic() 152 if (xDfmEntryGetDeviceName(xEntryHandle, &szDeviceName) == DFM_FAIL) in xDfmCloudGenerateMQTTTopic() [all …]
|
D | dfmAlert.c | 21 static DfmResult_t prvStoreAlert(DfmEntryHandle_t xEntryHandle); 22 static DfmResult_t prvStorePayloadChunk(DfmEntryHandle_t xEntryHandle); 23 static DfmResult_t prvSendAlert(DfmEntryHandle_t xEntryHandle); 24 static DfmResult_t prvSendPayloadChunk(DfmEntryHandle_t xEntryHandle); 28 static DfmResult_t prvStoreAlert(DfmEntryHandle_t xEntryHandle) in prvStoreAlert() argument 30 return xDfmStorageStoreAlert(xEntryHandle); in prvStoreAlert() 33 static DfmResult_t prvStorePayloadChunk(DfmEntryHandle_t xEntryHandle) in prvStorePayloadChunk() argument 36 (void)xDfmStorageStorePayloadChunk(xEntryHandle); in prvStorePayloadChunk() 41 static DfmResult_t prvSendAlert(DfmEntryHandle_t xEntryHandle) in prvSendAlert() argument 43 return xDfmCloudSendAlert(xEntryHandle); in prvSendAlert() [all …]
|
D | dfmStorage.c | 101 DfmResult_t xDfmStorageStoreAlert(DfmEntryHandle_t xEntryHandle) in xDfmStorageStoreAlert() argument 120 if (xEntryHandle == 0) in xDfmStorageStoreAlert() 135 …if (xDfmStoragePortStoreAlert(xEntryHandle, (uint32_t)(xStorageStrategy == DFM_STORAGE_STRATEGY_OV… in xDfmStorageStoreAlert() 178 DfmResult_t xDfmStorageStorePayloadChunk(DfmEntryHandle_t xEntryHandle) in xDfmStorageStorePayloadChunk() argument 197 if (xEntryHandle == 0) in xDfmStorageStorePayloadChunk() 212 …if (xDfmStoragePortStorePayloadChunk(xEntryHandle, (uint32_t)(xStorageStrategy == DFM_STORAGE_STRA… in xDfmStorageStorePayloadChunk()
|
/percepio-3.5.0/DFM/kernelports/Zephyr/cloudports/Serial/ |
D | dfmCloudPort.c | 55 static DfmResult_t prvSerialPortUploadEntry(DfmEntryHandle_t xEntryHandle) in prvSerialPortUploadEntry() argument 64 if (xEntryHandle == 0) in prvSerialPortUploadEntry() 67 if (xDfmEntryGetSize(xEntryHandle, &datalen) == DFM_FAIL) in prvSerialPortUploadEntry() 78 checksum = prvPrintDataAsHex(0, (uint8_t*)xEntryHandle, datalen); in prvSerialPortUploadEntry() 90 DfmResult_t xDfmCloudPortSendAlert(DfmEntryHandle_t xEntryHandle) in xDfmCloudPortSendAlert() argument 97 return prvSerialPortUploadEntry(xEntryHandle); in xDfmCloudPortSendAlert() 100 DfmResult_t xDfmCloudPortSendPayloadChunk(DfmEntryHandle_t xEntryHandle) in xDfmCloudPortSendPayloadChunk() argument 102 return prvSerialPortUploadEntry(xEntryHandle); in xDfmCloudPortSendPayloadChunk()
|
/percepio-3.5.0/DFM/cloudports/Serial/ |
D | dfmCloudPort.c | 29 static DfmResult_t prvSerialPortUploadEntry(DfmEntryHandle_t xEntryHandle); 67 static DfmResult_t prvSerialPortUploadEntry(DfmEntryHandle_t xEntryHandle) in prvSerialPortUploadEntry() argument 80 if (xEntryHandle == 0) in prvSerialPortUploadEntry() 85 if (xDfmEntryGetSize(xEntryHandle, &datalen) == DFM_FAIL) in prvSerialPortUploadEntry() 118 DfmResult_t xDfmCloudPortSendAlert(DfmEntryHandle_t xEntryHandle) in xDfmCloudPortSendAlert() argument 120 return prvSerialPortUploadEntry(xEntryHandle); in xDfmCloudPortSendAlert() 123 DfmResult_t xDfmCloudPortSendPayloadChunk(DfmEntryHandle_t xEntryHandle) in xDfmCloudPortSendPayloadChunk() argument 125 return prvSerialPortUploadEntry(xEntryHandle); in xDfmCloudPortSendPayloadChunk()
|
/percepio-3.5.0/DFM/storageports/FLASH/ |
D | dfmStoragePort.c | 36 static DfmResult_t prvDfmStoragePortWrite(DfmEntryHandle_t xEntryHandle, uint32_t ulType, uint32_t … 63 DfmResult_t xDfmStoragePortStoreAlert(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite) in xDfmStoragePortStoreAlert() argument 65 return prvDfmStoragePortWrite(xEntryHandle, DFM_STORAGE_PORT_ALERT_TYPE, ulOverwrite); in xDfmStoragePortStoreAlert() 91 DfmResult_t xDfmStoragePortStorePayloadChunk(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite) in xDfmStoragePortStorePayloadChunk() argument 93 return prvDfmStoragePortWrite(xEntryHandle, DFM_STORAGE_PORT_PAYLOAD_TYPE, ulOverwrite); in xDfmStoragePortStorePayloadChunk() 103 static DfmResult_t prvDfmStoragePortWrite(DfmEntryHandle_t xEntryHandle, uint32_t ulType, uint32_t … in prvDfmStoragePortWrite() argument 107 if (xEntryHandle == 0) in prvDfmStoragePortWrite() 112 if (xDfmEntryGetSize(xEntryHandle, &ulSize) == DFM_FAIL) in prvDfmStoragePortWrite() 147 if (FLASH_write_at(ulDst, xEntryHandle, ulSize) != 0) in prvDfmStoragePortWrite()
|
/percepio-3.5.0/DFM/cloudports/Dummy/ |
D | dfmCloudPort.c | 23 DfmResult_t xDfmCloudPortSendAlert(DfmEntryHandle_t xEntryHandle) in xDfmCloudPortSendAlert() argument 25 (void)xEntryHandle; in xDfmCloudPortSendAlert() 30 DfmResult_t xDfmCloudPortSendPayloadChunk(DfmEntryHandle_t xEntryHandle) in xDfmCloudPortSendPayloadChunk() argument 32 (void)xEntryHandle; in xDfmCloudPortSendPayloadChunk()
|
/percepio-3.5.0/DFM/storageports/Dummy/ |
D | dfmStoragePort.c | 40 DfmResult_t xDfmStoragePortStoreAlert(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite) in xDfmStoragePortStoreAlert() argument 42 (void)xEntryHandle; in xDfmStoragePortStoreAlert() 56 DfmResult_t xDfmStoragePortStorePayloadChunk(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite) in xDfmStoragePortStorePayloadChunk() argument 58 (void)xEntryHandle; in xDfmStoragePortStorePayloadChunk()
|
/percepio-3.5.0/DFM/kernelports/Zephyr/storageports/Flash/ |
D | dfmStoragePort.c | 62 DfmResult_t prvDfmStoragePortWrite(DfmEntryHandle_t xEntryHandle, uint32_t ulType, uint32_t ulOverw… 325 DfmResult_t xDfmStoragePortStoreAlert(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite) in xDfmStoragePortStoreAlert() argument 327 return prvDfmStoragePortWrite(xEntryHandle, DFM_STORAGE_PORT_ALERT_TYPE, ulOverwrite); in xDfmStoragePortStoreAlert() 332 DfmEntryHandle_t xEntryHandle = 0; in xDfmStoragePortGetAlert() local 354 while (xDfmEntryCreateAlertFromBuffer(&xEntryHandle) == DFM_FAIL) in xDfmStoragePortGetAlert() 365 DfmResult_t xDfmStoragePortStorePayloadChunk(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite) in xDfmStoragePortStorePayloadChunk() argument 367 return prvDfmStoragePortWrite(xEntryHandle, DFM_STORAGE_PORT_PAYLOAD_TYPE, ulOverwrite); in xDfmStoragePortStorePayloadChunk() 375 DfmEntryHandle_t xEntryHandle = 0; in xDfmStoragePortGetPayloadChunk() local 402 if (xDfmEntryCreatePayloadChunkFromBuffer(szSessionId, ulAlertId, &xEntryHandle) == DFM_FAIL) in xDfmStoragePortGetPayloadChunk() 410 DfmResult_t prvDfmStoragePortWrite(DfmEntryHandle_t xEntryHandle, uint32_t ulType, uint32_t ulOverw… in prvDfmStoragePortWrite() argument [all …]
|
/percepio-3.5.0/DFM/cloudports/Dummy/include/ |
D | dfmCloudPort.h | 57 DfmResult_t xDfmCloudPortSendAlert(DfmEntryHandle_t xEntryHandle); 67 DfmResult_t xDfmCloudPortSendPayloadChunk(DfmEntryHandle_t xEntryHandle);
|
/percepio-3.5.0/DFM/cloudports/Serial/include/ |
D | dfmCloudPort.h | 70 DfmResult_t xDfmCloudPortSendAlert(DfmEntryHandle_t xEntryHandle); 80 DfmResult_t xDfmCloudPortSendPayloadChunk(DfmEntryHandle_t xEntryHandle);
|
/percepio-3.5.0/DFM/kernelports/Zephyr/cloudports/Serial/include/ |
D | dfmCloudPort.h | 60 DfmResult_t xDfmCloudPortSendAlert(DfmEntryHandle_t xEntryHandle); 70 DfmResult_t xDfmCloudPortSendPayloadChunk(DfmEntryHandle_t xEntryHandle);
|
/percepio-3.5.0/DFM/kernelports/Zephyr/storageports/Flash/include/ |
D | dfmStoragePort.h | 83 DfmResult_t xDfmStoragePortStoreAlert(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite); 105 DfmResult_t xDfmStoragePortStorePayloadChunk(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite);
|
/percepio-3.5.0/DFM/storageports/Dummy/include/ |
D | dfmStoragePort.h | 83 DfmResult_t xDfmStoragePortStoreAlert(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite); 105 DfmResult_t xDfmStoragePortStorePayloadChunk(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite);
|
/percepio-3.5.0/DFM/storageports/FLASH/include/ |
D | dfmStoragePort.h | 84 DfmResult_t xDfmStoragePortStoreAlert(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite); 106 DfmResult_t xDfmStoragePortStorePayloadChunk(DfmEntryHandle_t xEntryHandle, uint32_t ulOverwrite);
|