Home
last modified time | relevance | path

Searched refs:xEventHandle (Results 1 – 8 of 8) sorted by relevance

/percepio-3.5.0/TraceRecorder/include/
DtrcEvent.h78 …T_RAW_DATA(xEventHandle, uiOffset, uiSize, ppvData) ((void)(uiSize), *(void**)(ppvData) = (void*)&… argument
83 …ET_PAYLOAD(xEventHandle, uiOffset, uiSize, ppvData) ((void)(uiSize), *(void**)(ppvData) = (void*)&… argument
88xEventHandle, puiValue) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(uint32_t*)(puiValue) = ((TraceEventDa… argument
93 #define TRC_EVENT_PAYLOAD_USED(xEventHandle, puiValue) (*(uint32_t*)(puiValue) = ((TraceEventData_t… argument
98 #define TRC_EVENT_PAYLOAD_SIZE(xEventHandle, puiValue) (*(uint32_t*)(puiValue) = ((TraceEventData_t… argument
103 #define TRC_EVENT_ADD_POINTER(xEventHandle, value) \ argument
105 …((void**)((TraceEventData_t*)(xEventHandle))->pvBlob)[((TraceEventData_t*)(xEventHandle))->offset …
106 ((TraceEventData_t*)(xEventHandle))->offset += sizeof(void*), \
113 #define TRC_EVENT_ADD_UNSIGNED_BASE_TYPE(xEventHandle, value) \ argument
115 …((TraceUnsignedBaseType_t*)((TraceEventData_t*)(xEventHandle))->pvBlob)[((TraceEventData_t*)(xEven…
[all …]
/percepio-3.5.0/TraceRecorder/
DtrcEvent.c436 traceResult xTraceEventEndOffline(TraceEventHandle_t xEventHandle) in xTraceEventEndOffline() argument
438 TraceEventData_t* pxEventData = (TraceEventData_t*)xEventHandle; in xTraceEventEndOffline()
471 traceResult xTraceEventEndOfflineBlocking(TraceEventHandle_t xEventHandle) in xTraceEventEndOfflineBlocking() argument
473 TraceEventData_t* pxEventData = (TraceEventData_t*)xEventHandle; in xTraceEventEndOfflineBlocking()
512 traceResult xTraceEventAddData(TraceEventHandle_t xEventHandle, const TraceUnsignedBaseType_t* cons… in xTraceEventAddData() argument
520 TRC_ASSERT(xEventHandle != 0); in xTraceEventAddData()
526 …((TraceEventData_t*)xEventHandle)->offset + (uint32_t)(uxSize * sizeof(TraceUnsignedBaseType_t))) … in xTraceEventAddData()
530 …TRC_EVENT_ADD_UNSIGNED_BASE_TYPE(xEventHandle, puxData[i]); /*cstat !MISRAC2004-17.4_b We need to … in xTraceEventAddData()
552 traceResult xTraceEventGetRawData(TraceEventHandle_t xEventHandle, uint32_t uiOffset, uint32_t uiSi… in xTraceEventGetRawData() argument
558 TRC_ASSERT(xEventHandle != 0); in xTraceEventGetRawData()
[all …]
DtrcString.c21 TraceEventHandle_t xEventHandle = 0; in xTraceStringRegister() local
48 if (xTraceEventBegin(PSF_EVENT_OBJ_NAME, sizeof(void*) + uiLength, &xEventHandle) == TRC_SUCCESS) in xTraceStringRegister()
50 (void)xTraceEventAddPointer(xEventHandle, (void*)xEntryHandle); in xTraceStringRegister()
51 (void)xTraceEventAddString(xEventHandle, szString, uiLength); in xTraceStringRegister()
54 (void)xTraceEventPayloadRemaining(xEventHandle, &uiValue); in xTraceStringRegister()
57 (void)xTraceEventAdd8(xEventHandle, 0u); in xTraceStringRegister()
60 …(void)xTraceEventEnd(xEventHandle); /*cstat !MISRAC2012-Rule-17.7 Suppress ignored return value ch… in xTraceStringRegister()
DtrcRunnable.c23 TraceEventHandle_t xEventHandle = 0; in xTraceRunnableRegister() local
74 …if (xTraceEventBegin(PSF_EVENT_RUNNABLE_REGISTER, sizeof(void*) + uiLength, &xEventHandle) == TRC_… in xTraceRunnableRegister()
76 (void)xTraceEventAddPointer(xEventHandle, (void*)*pxRunnableHandle); in xTraceRunnableRegister()
77 (void)xTraceEventAddString(xEventHandle, szName, uiLength); in xTraceRunnableRegister()
80 (void)xTraceEventPayloadRemaining(xEventHandle, &uiValue); in xTraceRunnableRegister()
83 (void)xTraceEventAdd8(xEventHandle, 0u); in xTraceRunnableRegister()
86 …(void)xTraceEventEnd(xEventHandle); /*cstat !MISRAC2012-Rule-17.7 Suppress ignored return value ch… in xTraceRunnableRegister()
DtrcStreamingRecorder.c581 TraceEventHandle_t xEventHandle; in prvTraceStoreHeader() local
583 if (xTraceEventBeginRawOfflineBlocking(sizeof(TraceHeader_t), &xEventHandle) == TRC_SUCCESS) in prvTraceStoreHeader()
585 …xTraceEventAddData(xEventHandle, (TraceUnsignedBaseType_t*)pxHeader, sizeof(TraceHeader_t) / sizeo… in prvTraceStoreHeader()
586 xTraceEventEndOfflineBlocking(xEventHandle); in prvTraceStoreHeader()
593 TraceEventHandle_t xEventHandle; in prvTraceStoreTimestampInfo() local
595 if (xTraceEventBeginRawOfflineBlocking(sizeof(TraceTimestampData_t), &xEventHandle) == TRC_SUCCESS) in prvTraceStoreTimestampInfo()
597 …xTraceEventAddData(xEventHandle, (TraceUnsignedBaseType_t*)&pxTraceRecorderData->xTimestampBuffer,… in prvTraceStoreTimestampInfo()
598 xTraceEventEndOfflineBlocking(xEventHandle); in prvTraceStoreTimestampInfo()
606 TraceEventHandle_t xEventHandle; in prvTraceStoreEntryTable() local
613 …+ sizeof(TraceUnsignedBaseType_t) + sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in prvTraceStoreEntryTable()
[all …]
DtrcObject.c29 TraceEventHandle_t xEventHandle = 0; in xTraceObjectRegisterInternal() local
91 …e, sizeof(void*) + (uxStateCount * sizeof(TraceUnsignedBaseType_t)), &xEventHandle) == TRC_SUCCESS) in xTraceObjectRegisterInternal()
93 (void)xTraceEventAddPointer(xEventHandle, pvAddress); in xTraceObjectRegisterInternal()
96 (void)xTraceEventAddUnsignedBaseType(xEventHandle, uxStates[i]); in xTraceObjectRegisterInternal()
98 …(void)xTraceEventEnd(xEventHandle); /*cstat !MISRAC2012-Rule-17.7 Suppress ignored return value ch… in xTraceObjectRegisterInternal()
288 TraceEventHandle_t xEventHandle = 0; in prvTraceObjectSendNameEvent() local
290 if (xTraceEventBegin(PSF_EVENT_OBJ_NAME, sizeof(void*) + uiLength, &xEventHandle) == TRC_SUCCESS) in prvTraceObjectSendNameEvent()
292 (void)xTraceEventAddPointer(xEventHandle, pvObject); in prvTraceObjectSendNameEvent()
293 (void)xTraceEventAddString(xEventHandle, szName, uiLength); in prvTraceObjectSendNameEvent()
296 (void)xTraceEventPayloadRemaining(xEventHandle, &uiValue); in prvTraceObjectSendNameEvent()
[all …]
DtrcISR.c52 TraceEventHandle_t xEventHandle = 0; in xTraceISRRegister() local
89 …n(PSF_EVENT_DEFINE_ISR, uiLength + sizeof(void*) + sizeof(uint32_t), &xEventHandle) == TRC_SUCCESS) in xTraceISRRegister()
91 (void)xTraceEventAddPointer(xEventHandle, (void*)xEntryHandle); in xTraceISRRegister()
92 (void)xTraceEventAdd32(xEventHandle, uiPriority); in xTraceISRRegister()
93 (void)xTraceEventAddString(xEventHandle, szName, uiLength); in xTraceISRRegister()
96 (void)xTraceEventPayloadRemaining(xEventHandle, &uiValue); in xTraceISRRegister()
99 (void)xTraceEventAdd8(xEventHandle, 0u); in xTraceISRRegister()
102 (void)xTraceEventEnd(xEventHandle); /*cstat !MISRAC2012-Rule-17.7*/ in xTraceISRRegister()
DtrcPrint.c235 TraceEventHandle_t xEventHandle = 0; in prvTraceVPrintF() local
256 if (xTraceEventBegin(uiEventCode, uiSize , &xEventHandle) == TRC_FAIL) in prvTraceVPrintF()
262 (void)xTraceEventAddPointer(xEventHandle, (void*)xChannel); in prvTraceVPrintF()
267 …(void)xTraceEventAddUnsignedBaseType(xEventHandle, va_arg(*pxVariableList, TraceUnsignedBaseType_t… in prvTraceVPrintF()
270 (void)xTraceEventPayloadRemaining(xEventHandle, &uiRemaining); in prvTraceVPrintF()
277 (void)xTraceEventAddString(xEventHandle, szFormat, uiLength); in prvTraceVPrintF()
280 (void)xTraceEventPayloadRemaining(xEventHandle, &uiValue); in prvTraceVPrintF()
283 (void)xTraceEventAdd8(xEventHandle, 0u); in prvTraceVPrintF()
286 …(void)xTraceEventEnd(xEventHandle); /*cstat !MISRAC2012-Rule-17.7 Suppress ignored return value ch… in prvTraceVPrintF()