Home
last modified time | relevance | path

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

/TraceRecorderSource-3.4.0/
DtrcEvent.c157 traceResult xTraceEventEndOffline(TraceEventHandle_t xEventHandle) in xTraceEventEndOffline() argument
159 TraceEventData_t* pxEventData = (TraceEventData_t*)xEventHandle; in xTraceEventEndOffline()
192 traceResult xTraceEventEndOfflineBlocking(TraceEventHandle_t xEventHandle) in xTraceEventEndOfflineBlocking() argument
194 TraceEventData_t* pxEventData = (TraceEventData_t*)xEventHandle; in xTraceEventEndOfflineBlocking()
230 traceResult xTraceEventAddData(TraceEventHandle_t xEventHandle, void* pvData, uint32_t uiSize) in xTraceEventAddData() argument
238 TRC_ASSERT(xEventHandle != 0); in xTraceEventAddData()
244 …TRC_ASSERT(((TraceEventData_t*)xEventHandle)->offset + uiSize <= ((TraceEventData_t*)xEventHandle)… in xTraceEventAddData()
248 TRC_EVENT_ADD_8(xEventHandle, ((uint8_t*)pvData)[i]); in xTraceEventAddData()
270 traceResult xTraceEventGetRawData(TraceEventHandle_t xEventHandle, uint32_t uiOffset, uint32_t uiSi… in xTraceEventGetRawData() argument
276 TRC_ASSERT(xEventHandle != 0); in xTraceEventGetRawData()
[all …]
DtrcTask.c61 TraceEventHandle_t xEventHandle = 0; in xTraceTaskSetPriority() local
71 …if (xTraceEventBegin(PSF_EVENT_TASK_PRIORITY, sizeof(void*) + sizeof(uint32_t), &xEventHandle) == … in xTraceTaskSetPriority()
73 xTraceEventAddPointer(xEventHandle, pvTask); in xTraceTaskSetPriority()
74 xTraceEventAdd32(xEventHandle, (uint32_t)uxPriority); in xTraceTaskSetPriority()
75 xTraceEventEnd(xEventHandle); in xTraceTaskSetPriority()
83 TraceEventHandle_t xEventHandle = 0; in xTraceTaskSetPriorityWithoutHandle() local
95 …if (xTraceEventBegin(PSF_EVENT_TASK_PRIORITY, sizeof(void*) + sizeof(uint32_t), &xEventHandle) == … in xTraceTaskSetPriorityWithoutHandle()
97 xTraceEventAddPointer(xEventHandle, pvTask); in xTraceTaskSetPriorityWithoutHandle()
98 xTraceEventAdd32(xEventHandle, (uint32_t)uxPriority); in xTraceTaskSetPriorityWithoutHandle()
99 xTraceEventEnd(xEventHandle); in xTraceTaskSetPriorityWithoutHandle()
[all …]
DtrcISR.c53 TraceEventHandle_t xEventHandle = 0; in xTraceISRRegister() local
90 …n(PSF_EVENT_DEFINE_ISR, uiLength + sizeof(void*) + sizeof(uint32_t), &xEventHandle) == TRC_SUCCESS) in xTraceISRRegister()
92 xTraceEventAddPointer(xEventHandle, (void*)xEntryHandle); in xTraceISRRegister()
93 xTraceEventAdd32(xEventHandle, uiPriority); in xTraceISRRegister()
94 xTraceEventAddData(xEventHandle, (void*)szName, uiLength); in xTraceISRRegister()
97 xTraceEventPayloadRemaining(xEventHandle, &uiValue); in xTraceISRRegister()
100 xTraceEventAdd8(xEventHandle, 0); in xTraceISRRegister()
103 xTraceEventEnd(xEventHandle); in xTraceISRRegister()
111 TraceEventHandle_t xEventHandle = 0; in xTraceISRBegin() local
115 (void)xEventHandle; in xTraceISRBegin()
[all …]
DtrcInterval.c64 TraceEventHandle_t xEventHandle = 0; in xTraceIntervalStart() local
71 …+ sizeof(TraceUnsignedBaseType_t) + sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in xTraceIntervalStart()
73 xTraceEventAddPointer(xEventHandle, (void*)xIntervalChannelHandle); in xTraceIntervalStart()
74 xTraceEventAddUnsignedBaseType(xEventHandle, (TraceUnsignedBaseType_t)*pxIntervalInstanceHandle); in xTraceIntervalStart()
75 xTraceEventAddUnsignedBaseType(xEventHandle, uxValue); in xTraceIntervalStart()
76 xTraceEventEnd(xEventHandle); in xTraceIntervalStart()
84 TraceEventHandle_t xEventHandle = 0; in xTraceIntervalStop() local
89 …VENT_INTERVAL_STOP, sizeof(void*) + sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in xTraceIntervalStop()
91 xTraceEventAddPointer(xEventHandle, (void*)xIntervalChannelHandle); in xTraceIntervalStop()
92 xTraceEventAddUnsignedBaseType(xEventHandle, (TraceUnsignedBaseType_t)xIntervalInstanceHandle); in xTraceIntervalStop()
[all …]
DtrcObject.c28 TraceEventHandle_t xEventHandle = 0; in xTraceObjectRegisterInternal() local
87 …ode, sizeof(void*) + uxStateCount * sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in xTraceObjectRegisterInternal()
89 xTraceEventAddPointer(xEventHandle, pvObject); in xTraceObjectRegisterInternal()
92 xTraceEventAddUnsignedBaseType(xEventHandle, uxStates[i]); in xTraceObjectRegisterInternal()
94 xTraceEventEnd(xEventHandle); in xTraceObjectRegisterInternal()
109 TraceEventHandle_t xEventHandle = 0; in xTraceObjectUnregister() local
127 …if (xTraceEventBegin(uiEventCode, sizeof(void*) + sizeof(TraceUnsignedBaseType_t), &xEventHandle) … in xTraceObjectUnregister()
129 xTraceEventAddPointer(xEventHandle, pvObject); in xTraceObjectUnregister()
130 xTraceEventAddUnsignedBaseType(xEventHandle, uxState); in xTraceObjectUnregister()
131 xTraceEventEnd(xEventHandle); in xTraceObjectUnregister()
[all …]
DtrcHeap.c33 TraceEventHandle_t xEventHandle = 0; in xTraceHeapAlloc() local
64 …VENT_MALLOC_FAILED, sizeof(void*) + sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in xTraceHeapAlloc()
66 xTraceEventAddPointer(xEventHandle, pvAddress); in xTraceHeapAlloc()
67 xTraceEventAddUnsignedBaseType(xEventHandle, uxSize); in xTraceHeapAlloc()
68 xTraceEventEnd(xEventHandle); in xTraceHeapAlloc()
77 TraceEventHandle_t xEventHandle = 0; in xTraceHeapFree() local
98 …_EVENT_FREE_FAILED, sizeof(void*) + sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in xTraceHeapFree()
100 xTraceEventAddPointer(xEventHandle, pvAddress); in xTraceHeapFree()
101 xTraceEventAddUnsignedBaseType(xEventHandle, uxSize); in xTraceHeapFree()
102 xTraceEventEnd(xEventHandle); in xTraceHeapFree()
DtrcStreamingRecorder.c492 TraceEventHandle_t xEventHandle; in prvTraceStoreHeader() local
494 if (xTraceEventBeginRawOfflineBlocking(sizeof(TraceHeader_t), &xEventHandle) == TRC_SUCCESS) in prvTraceStoreHeader()
496 xTraceEventAddData(xEventHandle, pxHeader, sizeof(TraceHeader_t)); in prvTraceStoreHeader()
497 xTraceEventEndOfflineBlocking(xEventHandle); in prvTraceStoreHeader()
504 TraceEventHandle_t xEventHandle; in prvTraceStoreTimestampInfo() local
506 …if (xTraceEventBeginRawOfflineBlocking(sizeof(TraceTimestampBuffer_t), &xEventHandle) == TRC_SUCCE… in prvTraceStoreTimestampInfo()
508 …xTraceEventAddData(xEventHandle, &pxTraceRecorderData->xTimestampBuffer, sizeof(TraceTimestampBuff… in prvTraceStoreTimestampInfo()
509 xTraceEventEndOfflineBlocking(xEventHandle); in prvTraceStoreTimestampInfo()
517 TraceEventHandle_t xEventHandle; in prvTraceStoreEntryTable() local
524 …lineBlocking(sizeof(uint32_t) + sizeof(uint32_t) + sizeof(uint32_t), &xEventHandle) == TRC_SUCCESS) in prvTraceStoreEntryTable()
[all …]
DtrcString.c20 TraceEventHandle_t xEventHandle = 0; in xTraceStringRegister() local
46 if (xTraceEventBegin(PSF_EVENT_OBJ_NAME, sizeof(void*) + uiLength, &xEventHandle) == TRC_SUCCESS) in xTraceStringRegister()
48 xTraceEventAddPointer(xEventHandle, (void*)xEntryHandle); in xTraceStringRegister()
49 xTraceEventAddData(xEventHandle, (void*)szString, uiLength); in xTraceStringRegister()
52 xTraceEventPayloadRemaining(xEventHandle, &uiValue); in xTraceStringRegister()
55 xTraceEventAdd8(xEventHandle, 0); in xTraceStringRegister()
58 xTraceEventEnd(xEventHandle); in xTraceStringRegister()
DtrcCounter.c60 TraceEventHandle_t xEventHandle = 0; in xTraceCounterSet() local
70 …if (xTraceEventBegin(PSF_EVENT_COUNTER_CHANGE, sizeof(void*) + sizeof(uint32_t), &xEventHandle) ==… in xTraceCounterSet()
72 xTraceEventAddPointer(xEventHandle, (void*)xCounterHandle); in xTraceCounterSet()
73 xTraceEventAdd32(xEventHandle, (uint32_t)xValue); in xTraceCounterSet()
74 xTraceEventEnd(xEventHandle); in xTraceCounterSet()
83 …if (xTraceEventBegin(PSF_EVENT_COUNTER_LIMIT_EXCEEDED, sizeof(void*), &xEventHandle) == TRC_SUCCES… in xTraceCounterSet()
85 xTraceEventAddPointer(xEventHandle, (void*)xCounterHandle); in xTraceCounterSet()
86 xTraceEventEnd(xEventHandle); in xTraceCounterSet()
DtrcPrint.c254 TraceEventHandle_t xEventHandle = 0; in prvTraceVPrintF() local
275 if (xTraceEventBegin(uiEventCode, uiSize , &xEventHandle) == TRC_FAIL) in prvTraceVPrintF()
281 xTraceEventAddPointer(xEventHandle, (void*)xChannel); in prvTraceVPrintF()
286 xTraceEventAddUnsignedBaseType(xEventHandle, va_arg(*pxVL, TraceUnsignedBaseType_t)); in prvTraceVPrintF()
289 xTraceEventPayloadRemaining(xEventHandle, &uiRemaining); in prvTraceVPrintF()
296 xTraceEventAddData(xEventHandle, (void*)szFormat, uiLength); in prvTraceVPrintF()
299 xTraceEventPayloadRemaining(xEventHandle, &uiValue); in prvTraceVPrintF()
302 xTraceEventAdd8(xEventHandle, 0); in prvTraceVPrintF()
305 xTraceEventEnd(xEventHandle); in prvTraceVPrintF()
DtrcStateMachine.c67 TraceEventHandle_t xEventHandle = 0; in xTraceStateMachineSetState() local
83 …n(PSF_EVENT_STATEMACHINE_STATECHANGE, sizeof(void*) + sizeof(void*), &xEventHandle) == TRC_SUCCESS) in xTraceStateMachineSetState()
85 xTraceEventAddPointer(xEventHandle, (void*)xStateMachineHandle); in xTraceStateMachineSetState()
86 xTraceEventAddPointer(xEventHandle, (void*)xStateHandle); in xTraceStateMachineSetState()
87 xTraceEventEnd(xEventHandle); in xTraceStateMachineSetState()
DtrcStackMonitor.c170 TraceEventHandle_t xEventHandle = 0; in xTraceStackMonitorReport() local
200 …if (xTraceEventBegin(PSF_EVENT_UNUSED_STACK, sizeof(void*) + sizeof(uint32_t), &xEventHandle) == T… in xTraceStackMonitorReport()
202 xTraceEventAddPointer(xEventHandle, pxStackMonitorEntry->pvTask); in xTraceStackMonitorReport()
203 xTraceEventAdd32(xEventHandle, (uint32_t)pxStackMonitorEntry->uxPreviousLowWaterMark); in xTraceStackMonitorReport()
204 xTraceEventEnd(xEventHandle); in xTraceStackMonitorReport()
/TraceRecorderSource-3.4.0/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 …]
/TraceRecorderSource-3.4.0/kernelports/ThreadX/include/
DtrcCTI.h1348 traceResult xTraceEventEndOffline(TraceEventHandle_t xEventHandle) __attribute__((weak));
1349 traceResult xTraceEventEndOffline_orig(TraceEventHandle_t xEventHandle) __attribute__((alias("xTrac…
/TraceRecorderSource-3.4.0/kernelports/ThreadX/
DtrcCTI.c110 extern traceResult xTraceEventEndOffline_orig(TraceEventHandle_t xEventHandle);
1994 traceResult xTraceEventEndOffline(TraceEventHandle_t xEventHandle) in xTraceEventEndOffline() argument
1998 xResult = xTraceEventEndOffline_orig(xEventHandle); in xTraceEventEndOffline()