Home
last modified time | relevance | path

Searched refs:TRC_SUCCESS (Results 1 – 25 of 60) sorted by relevance

123

/TraceRecorderSource-3.4.0/kernelports/ThreadX/
DtrcKernelPortHooks.c17 …BeginRawOffline_orig(sizeof(TraceBaseEvent_t) + (uiPayloadSize), pxEventHandle)) == TRC_SUCCESS ? \
25 TRC_SUCCESS \
51 …FLINE_ORIG(PSF_EVENT_THREAD_SYSTEM_SUSPEND_SUCCESS, sizeof(void*), &xTraceHandle) == TRC_SUCCESS) { in xTraceCheckThreadSwitch()
72 …FFLINE_ORIG(PSF_EVENT_TASK_POTENTIAL_SWITCH_RESULT, sizeof(void*), &xTraceHandle) == TRC_SUCCESS) { in xTraceCheckThreadSwitch()
96 if (xTraceEventBegin(uiTxEventCode, sizeof(void*), &xTraceHandle) == TRC_SUCCESS) { in xTraceTimeSliceHook()
103 if (xTraceEventBegin(PSF_EVENT_TASK_POTENTIAL_SWITCH, 0, &xTraceHandle) == TRC_SUCCESS) { in xTraceTimeSliceHook()
113 …Begin(uiTxEventCode, sizeof(void*) + sizeof(ULONG) + sizeof(UINT), &xTraceHandle) == TRC_SUCCESS) { in xTraceBlockAllocateHook()
129 …de, sizeof(void*) + sizeof(ULONG) + sizeof(void*) + sizeof(ULONG), &xTraceHandle) == TRC_SUCCESS) { in xTraceBlockPoolCreateHook()
147 if (xTraceEventBegin(uiTxEventCode, sizeof(void*), &xTraceHandle) == TRC_SUCCESS) { in xTraceBlockPoolInfoGetHook()
157 if (xTraceEventBegin(uiTxEventCode, sizeof(void*), &xTraceHandle) == TRC_SUCCESS) { in xTraceBlockPoolPerformanceInfoGetHook()
[all …]
DtrcCTI.c122 &xTraceHandle) == TRC_SUCCESS) { in _txe_block_allocate()
135 &xTraceHandle) == TRC_SUCCESS) { in _txe_block_allocate()
148 &xTraceHandle) == TRC_SUCCESS) { in _txe_block_allocate()
168 &xTraceHandle) == TRC_SUCCESS) { in _txe_block_pool_create()
190 &xTraceHandle) == TRC_SUCCESS) { in _txe_block_pool_delete()
209 &xTraceHandle) == TRC_SUCCESS) { in _txe_block_pool_info_get()
228 &xTraceHandle) == TRC_SUCCESS) { in _tx_block_pool_performance_info_get()
247 &xTraceHandle) == TRC_SUCCESS) { in _tx_block_pool_performance_system_info_get()
256 &xTraceHandle) == TRC_SUCCESS) { in _tx_block_pool_performance_system_info_get()
272 &xTraceHandle) == TRC_SUCCESS) { in _txe_block_pool_prioritize()
[all …]
/TraceRecorderSource-3.4.0/
DtrcTask.c44 return TRC_SUCCESS; in xTraceTaskInitialize()
52 …RT_ALWAYS_EVALUATE(xTraceEntryGetAddress((TraceEntryHandle_t)xTaskHandle, &pvTask) == TRC_SUCCESS); in xTraceTaskUnregister()
65 …ALWAYS_EVALUATE(xTraceObjectSetState((TraceObjectHandle_t)xTaskHandle, uxPriority) == TRC_SUCCESS); in xTraceTaskSetPriority()
68 …RT_ALWAYS_EVALUATE(xTraceEntryGetAddress((TraceEntryHandle_t)xTaskHandle, &pvTask) == TRC_SUCCESS); in xTraceTaskSetPriority()
71 …ventBegin(PSF_EVENT_TASK_PRIORITY, sizeof(void*) + sizeof(uint32_t), &xEventHandle) == TRC_SUCCESS) in xTraceTaskSetPriority()
78 return TRC_SUCCESS; in xTraceTaskSetPriority()
92 …LWAYS_EVALUATE(xTraceObjectSetState((TraceObjectHandle_t)xEntryHandle, uxPriority) == TRC_SUCCESS); in xTraceTaskSetPriorityWithoutHandle()
95 …ventBegin(PSF_EVENT_TASK_PRIORITY, sizeof(void*) + sizeof(uint32_t), &xEventHandle) == TRC_SUCCESS) in xTraceTaskSetPriorityWithoutHandle()
102 return TRC_SUCCESS; in xTraceTaskSetPriorityWithoutHandle()
130 …ventBegin(PSF_EVENT_TASK_ACTIVATE, sizeof(void*) + sizeof(uint32_t), &xEventHandle) == TRC_SUCCESS) in xTraceTaskSwitch()
[all …]
DtrcHeap.c45 …VALUATE(xTraceEntryGetState(xHeapHandle, TRC_HEAP_STATE_INDEX_CURRENT, &uxCurrent) == TRC_SUCCESS); in xTraceHeapAlloc()
48 …ceEntryGetState(xHeapHandle, TRC_HEAP_STATE_INDEX_HIGHWATERMARK, &uxHighWaterMark) == TRC_SUCCESS); in xTraceHeapAlloc()
56 …aceEntrySetState(xHeapHandle, TRC_HEAP_STATE_INDEX_HIGHWATERMARK, uxHighWaterMark) == TRC_SUCCESS); in xTraceHeapAlloc()
60 …EVALUATE(xTraceEntrySetState(xHeapHandle, TRC_HEAP_STATE_INDEX_CURRENT, uxCurrent) == TRC_SUCCESS); in xTraceHeapAlloc()
64 …VENT_MALLOC_FAILED, sizeof(void*) + sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in xTraceHeapAlloc()
71 return TRC_SUCCESS; in xTraceHeapAlloc()
89 …VALUATE(xTraceEntryGetState(xHeapHandle, TRC_HEAP_STATE_INDEX_CURRENT, &uxCurrent) == TRC_SUCCESS); in xTraceHeapFree()
94 …EVALUATE(xTraceEntrySetState(xHeapHandle, TRC_HEAP_STATE_INDEX_CURRENT, uxCurrent) == TRC_SUCCESS); in xTraceHeapFree()
98 …_EVENT_FREE_FAILED, sizeof(void*) + sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in xTraceHeapFree()
105 return TRC_SUCCESS; in xTraceHeapFree()
DtrcInterval.c31 …tOptions((TraceEntryHandle_t)xObjectHandle, TRC_ENTRY_OPTION_INTERVAL_CHANNEL_SET) == TRC_SUCCESS); in xTraceIntervalChannelSetCreate()
35 return TRC_SUCCESS; in xTraceIntervalChannelSetCreate()
55 …rySetOptions((TraceEntryHandle_t)xObjectHandle, TRC_ENTRY_OPTION_INTERVAL_CHANNEL) == TRC_SUCCESS); in xTraceIntervalChannelCreate()
59 return TRC_SUCCESS; in xTraceIntervalChannelCreate()
68 TRC_ASSERT_ALWAYS_EVALUATE(xTraceTimestampGet((uint32_t*)pxIntervalInstanceHandle) == TRC_SUCCESS); in xTraceIntervalStart()
71 …+ sizeof(TraceUnsignedBaseType_t) + sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in xTraceIntervalStart()
79 return TRC_SUCCESS; in xTraceIntervalStart()
89 …VENT_INTERVAL_STOP, sizeof(void*) + sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in xTraceIntervalStop()
96 return TRC_SUCCESS; in xTraceIntervalStop()
DtrcObject.c61 TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntryGetAddress(xEntryHandle, &pvObject) == TRC_SUCCESS); in xTraceObjectRegisterInternal()
67 TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetState(xEntryHandle, i, uxStates[i]) == TRC_SUCCESS); in xTraceObjectRegisterInternal()
71 TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetOptions(xEntryHandle, uxOptions) == TRC_SUCCESS); in xTraceObjectRegisterInternal()
82 …ERT_ALWAYS_EVALUATE(xTraceObjectSetName((TraceObjectHandle_t)xEntryHandle, szName) == TRC_SUCCESS); in xTraceObjectRegisterInternal()
87 …ode, sizeof(void*) + uxStateCount * sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in xTraceObjectRegisterInternal()
97 return TRC_SUCCESS; in xTraceObjectRegisterInternal()
115 …LWAYS_EVALUATE(xTraceEntryGetAddress((TraceEntryHandle_t)xObjectHandle, &pvObject) == TRC_SUCCESS); in xTraceObjectUnregister()
118 …T_ALWAYS_EVALUATE(xTraceEntryGetSymbol((TraceEntryHandle_t)xObjectHandle, &szName) == TRC_SUCCESS); in xTraceObjectUnregister()
123 TRC_ASSERT(prvTraceObjectSendNameEvent(pvObject, szName) == TRC_SUCCESS); in xTraceObjectUnregister()
127 …tBegin(uiEventCode, sizeof(void*) + sizeof(TraceUnsignedBaseType_t), &xEventHandle) == TRC_SUCCESS) in xTraceObjectUnregister()
[all …]
DtrcCounter.c28 return TRC_SUCCESS; in xTraceCounterSetCallback()
55 return TRC_SUCCESS; in xTraceCounterCreate()
67 …Handle_t)xCounterHandle, TRC_COUNTER_VALUE_INDEX, (TraceUnsignedBaseType_t)xValue) == TRC_SUCCESS); in xTraceCounterSet()
70 …entBegin(PSF_EVENT_COUNTER_CHANGE, sizeof(void*) + sizeof(uint32_t), &xEventHandle) == TRC_SUCCESS) in xTraceCounterSet()
78 …TRC_ASSERT_ALWAYS_EVALUATE(xTraceCounterGetLowerLimit(xCounterHandle, &xLowerLimit) == TRC_SUCCESS in xTraceCounterSet()
79 …TRC_ASSERT_ALWAYS_EVALUATE(xTraceCounterGetUpperLimit(xCounterHandle, &xUpperLimit) == TRC_SUCCESS in xTraceCounterSet()
83 …f (xTraceEventBegin(PSF_EVENT_COUNTER_LIMIT_EXCEEDED, sizeof(void*), &xEventHandle) == TRC_SUCCESS) in xTraceCounterSet()
92 return TRC_SUCCESS; in xTraceCounterSet()
DtrcISR.c47 return TRC_SUCCESS; in xTraceISRInitialize()
78 TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetSymbol(xEntryHandle, szName) == TRC_SUCCESS); in xTraceISRRegister()
81 …EVALUATE(xTraceEntrySetState(xEntryHandle, 0, (TraceUnsignedBaseType_t)uiPriority) == TRC_SUCCESS); in xTraceISRRegister()
90 …n(PSF_EVENT_DEFINE_ISR, uiLength + sizeof(void*) + sizeof(uint32_t), &xEventHandle) == TRC_SUCCESS) in xTraceISRRegister()
106 return TRC_SUCCESS; in xTraceISRRegister()
139 if (xTraceEventBegin(PSF_EVENT_ISR_BEGIN, sizeof(void*), &xEventHandle) == TRC_SUCCESS) in xTraceISRBegin()
157 return TRC_SUCCESS; in xTraceISRBegin()
185 if (xTraceEventBegin(PSF_EVENT_ISR_RESUME, sizeof(void*), &xEventHandle) == TRC_SUCCESS) in xTraceISREnd()
201 if (xTraceEventBegin(PSF_EVENT_TASK_ACTIVATE, sizeof(void*), &xEventHandle) == TRC_SUCCESS) in xTraceISREnd()
215 return TRC_SUCCESS; in xTraceISREnd()
[all …]
DtrcTimestamp.c45 return TRC_SUCCESS; in xTraceTimestampInitialize()
87 return TRC_SUCCESS; in xTraceTimestampGet()
100 return TRC_SUCCESS; in xTraceTimestampGetWraparounds()
110 return TRC_SUCCESS; in xTraceTimestampSetFrequency()
120 return TRC_SUCCESS; in xTraceTimestampSetPeriod()
130 return TRC_SUCCESS; in xTraceTimestampSetOsTickCount()
143 return TRC_SUCCESS; in xTraceTimestampGetFrequency()
156 return TRC_SUCCESS; in xTraceTimestampGetPeriod()
169 return TRC_SUCCESS; in xTraceTimestampGetOsTickCount()
DtrcStateMachine.c34 …tions((TraceEntryHandle_t)xObjectHandle, (uint32_t)TRC_ENTRY_OPTION_STATE_MACHINE) == TRC_SUCCESS); in xTraceStateMachineCreate()
38 return TRC_SUCCESS; in xTraceStateMachineCreate()
58 …(TraceEntryHandle_t)xObjectHandle, (uint32_t)TRC_ENTRY_OPTION_STATE_MACHINE_STATE) == TRC_SUCCESS); in xTraceStateMachineStateCreate()
62 return TRC_SUCCESS; in xTraceStateMachineStateCreate()
80 …chineHandle, TRC_STATE_MACHINE_STATE_INDEX, (TraceUnsignedBaseType_t)xStateHandle) == TRC_SUCCESS); in xTraceStateMachineSetState()
83 …n(PSF_EVENT_STATEMACHINE_STATECHANGE, sizeof(void*) + sizeof(void*), &xEventHandle) == TRC_SUCCESS) in xTraceStateMachineSetState()
90 return TRC_SUCCESS; in xTraceStateMachineSetState()
DtrcEventBuffer.c36 return TRC_SUCCESS; in xTraceEventBufferInitialize()
53 …(void*)&(pxTraceEventBuffer->puiBuffer[pxTraceEventBuffer->uiTail])), &uiFreeSize) == TRC_SUCCESS); in prvTraceEventBufferPop()
60 return TRC_SUCCESS; in prvTraceEventBufferPop()
90 …YS_EVALUATE(xTraceTimestampGetWraparounds(&pxTraceEventBuffer->uiTimerWraparounds) == TRC_SUCCESS); in xTraceEventBufferPush()
146 return TRC_SUCCESS; in xTraceEventBufferPush()
172 return TRC_SUCCESS; in xTraceEventBufferPush()
192 return TRC_SUCCESS; in xTraceEventBufferPush()
214 return TRC_SUCCESS; in xTraceEventBufferTransfer()
250 return TRC_SUCCESS; in xTraceEventBufferTransfer()
262 return TRC_SUCCESS; in xTraceEventBufferClear()
DtrcDiagnostics.c42 return TRC_SUCCESS; in xTraceDiagnosticsInitialize()
58 return TRC_SUCCESS; in xTraceDiagnosticsGet()
71 return TRC_SUCCESS; in xTraceDiagnosticsSet()
84 return TRC_SUCCESS; in xTraceDiagnosticsAdd()
110 return TRC_SUCCESS; in xTraceDiagnosticsSetIfHigher()
126 return TRC_SUCCESS; in xTraceDiagnosticsSetIfLower()
161 return TRC_SUCCESS; in xTraceDiagnosticsCheckStatus()
/TraceRecorderSource-3.4.0/kernelports/Zephyr/
DtrcKernelPort.c72 return TRC_SUCCESS; in xTraceKernelPortInitialize()
77 return TRC_SUCCESS; in xTraceKernelPortEnable()
236 &xTraceHandle) == TRC_SUCCESS) { in sys_trace_k_thread_foreach_enter()
247 &xTraceHandle) == TRC_SUCCESS) { in sys_trace_k_thread_foreach_exit()
258 &xTraceHandle) == TRC_SUCCESS) { in sys_trace_k_thread_foreach_unlocked_enter()
269 &xTraceHandle) == TRC_SUCCESS) { in sys_trace_k_thread_foreach_unlocked_exit()
299 &xTraceHandle) == TRC_SUCCESS) { in sys_trace_k_thread_create()
317 &xTraceHandle) == TRC_SUCCESS) { in sys_trace_k_thread_user_mode_enter()
331 &xTraceHandle) == TRC_SUCCESS) { in sys_trace_k_thread_heap_assign()
342 &xTraceHandle) == TRC_SUCCESS) { in sys_trace_k_thread_join_blocking()
[all …]
/TraceRecorderSource-3.4.0/include/
DtrcCounter.h159 #define xTraceCounterSetCallback(__xCallback) ((void)(__xCallback), TRC_SUCCESS)
164 …InitialValue), (void)(__xLowerLimit), (void)(__xUpperLimit), *(__pxCounterHandle) = 0, TRC_SUCCESS)
169 …aceCounterAdd(__xCounterHandle, __xValue) ((void)(__xCounterHandle), (void)(__xValue), TRC_SUCCESS)
174 …aceCounterSet(__xCounterHandle, __xValue) ((void)(__xCounterHandle), (void)(__xValue), TRC_SUCCESS)
179 …ceCounterGet(__xCounterHandle, __pxValue) ((void)(__xCounterHandle), *(__pxValue) = 0, TRC_SUCCESS)
184 #define xTraceCounterIncrease(__xCounterHandle) ((void)(__xCounterHandle), TRC_SUCCESS)
189 #define xTraceCounterDecrease(__xCounterHandle) ((void)(__xCounterHandle), TRC_SUCCESS)
194 …etUpperLimit(__xCounterHandle, __pxValue) ((void)(__xCounterHandle), *(__pxValue) = 0, TRC_SUCCESS)
199 …etLowerLimit(__xCounterHandle, __pxValue) ((void)(__xCounterHandle), *(__pxValue) = 0, TRC_SUCCESS)
204 …rGetName(__xCounterHandle, __pszName) ((void)(__xCounterHandle), *(__pszName) = "N/A", TRC_SUCCESS)
DtrcTimestamp.h164 …raceTimestamp->wraparounds++ : 0, pxTraceTimestamp->latestTimestamp = *(puiTimestamp), TRC_SUCCESS)
166 …raceTimestamp->wraparounds++ : 0, pxTraceTimestamp->latestTimestamp = *(puiTimestamp), TRC_SUCCESS)
168 … = pxTraceTimestamp->osTickCount, pxTraceTimestamp->latestTimestamp = *(puiTimestamp), TRC_SUCCESS)
179 …COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puiTimerWraparounds) = pxTraceTimestamp->wraparounds, TRC_SUCCESS)
189 …equency) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(pxTraceTimestamp->frequency = uxFrequency, TRC_SUCCESS)
199 …riod(uiPeriod) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(pxTraceTimestamp->period = uiPeriod, TRC_SUCCESS)
209 …unt) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(pxTraceTimestamp->osTickCount = uiOsTickCount, TRC_SUCCESS)
219 …ncy) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puxFrequency) = pxTraceTimestamp->frequency, TRC_SUCCESS)
229 …puiPeriod) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puiPeriod) = pxTraceTimestamp->period, TRC_SUCCESS)
239 … TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puiOsTickCount) = pxTraceTimestamp->osTickCount, TRC_SUCCESS)
DtrcStackMonitor.h109 #define xTraceStackMonitorInitialize(pxBuffer) ((void)pxBuffer, TRC_SUCCESS)
111 … puiValue) ((void)xType, puiValue != 0 ? *puiValue = 0 : 0, puiValue != 0 ? TRC_SUCCESS : TRC_FAIL)
113 …ticsSet(xType, uiValue) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_3((void)xType, (void)uiValue, TRC_SUCCESS)
115 #define xTraceStackMonitorAdd(pvTask) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2((void)pvTask, TRC_SUCCESS)
117 …fine xTraceStackMonitorRemove(pvTask) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2((void)pvTask, TRC_SUCCESS)
119 …RC_COMMA_EXPR_TO_STATEMENT_EXPR_4((void)uiIndex, (void)ppvTask, (void)puxLowWaterMark, TRC_SUCCESS)
121 #define xTraceStackMonitorReport() TRC_COMMA_EXPR_TO_STATEMENT_EXPR_1(TRC_SUCCESS)
DtrcEvent.h73 …_EVENT_GET_PARAM_COUNT(((TraceBaseEvent_t*)(pvAddress))->EventID)) * sizeof(uint32_t), TRC_SUCCESS)
78 …(ppvData) = (void*)&((uint8_t*)((TraceEventData_t*)(xEventHandle))->pvBlob)[uiOffset], TRC_SUCCESS)
83 …*)((TraceEventData_t*)(xEventHandle))->pvBlob)[sizeof(TraceBaseEvent_t) + (uiOffset)], TRC_SUCCESS)
88 …TraceEventData_t*)(xEventHandle))->size - ((TraceEventData_t*)(xEventHandle))->offset, TRC_SUCCESS)
93 …*)(puiValue) = ((TraceEventData_t*)(xEventHandle))->offset - sizeof(TraceBaseEvent_t), TRC_SUCCESS)
98 …_t*)(puiValue) = ((TraceEventData_t*)(xEventHandle))->size - sizeof(TraceBaseEvent_t), TRC_SUCCESS)
107 TRC_SUCCESS \
117 TRC_SUCCESS \
127 TRC_SUCCESS \
137 TRC_SUCCESS \
[all …]
DtrcTask.h80 …rity, (TraceObjectHandle_t*)(pxTaskHandle)) == TRC_SUCCESS)) ? (xTraceStackMonitorAdd(pvTask), TRC…
125 …NT_TASK_CREATE, pvTask, szName, uxPriority) == TRC_SUCCESS)) ? (xTraceStackMonitorAdd(pvTask), TRC…
182 #define xTraceTaskReady(p) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2((void)p, TRC_SUCCESS)
193 …TO_STATEMENT_EXPR_2(pxTraceTaskInfo->coreTasks[TRC_CFG_GET_CURRENT_CORE()] = (pvTask), TRC_SUCCESS)
203 …_STATEMENT_EXPR_2(*(ppvTask) = pxTraceTaskInfo->coreTasks[TRC_CFG_GET_CURRENT_CORE()], TRC_SUCCESS)
DtrcEntryTable.h34 …eEntryCreate(_pxEntryHandle) == TRC_SUCCESS ? (((TraceEntry_t*)*(_pxEntryHandle))->pvAddress = (_p…
35 …O_STATEMENT_EXPR_2(((TraceEntry_t*)(xEntryHandle))->xStates[uiStateIndex] = (uxState), TRC_SUCCESS)
36 …COMMA_EXPR_TO_STATEMENT_EXPR_2(((TraceEntry_t*)(xEntryHandle))->uiOptions |= (uiMask), TRC_SUCCESS)
37 …OMMA_EXPR_TO_STATEMENT_EXPR_2(((TraceEntry_t*)(xEntryHandle))->uiOptions &= ~(uiMask), TRC_SUCCESS)
38 …A_EXPR_TO_STATEMENT_EXPR_2(*(ppvAddress) = ((TraceEntry_t*)(xEntryHandle))->pvAddress, TRC_SUCCESS)
39 …MMA_EXPR_TO_STATEMENT_EXPR_2(*(pszSymbol) = ((TraceEntry_t*)(xEntryHandle))->szSymbol, TRC_SUCCESS)
40 …STATEMENT_EXPR_2(*(puxState) = ((TraceEntry_t*)(xEntryHandle))->xStates[uiStateIndex], TRC_SUCCESS)
42 …A_EXPR_TO_STATEMENT_EXPR_2(*(puiOptions) = ((TraceEntry_t*)(xEntryHandle))->uiOptions, TRC_SUCCESS)
DtrcInterval.h100 … __pxIntervalChannelSetHandle) ((void)(__szName), *(__pxIntervalChannelSetHandle) = 0, TRC_SUCCESS)
105 …oid)(__szName), (void)(__xIntervalChannelSetHandle), *(__pxIntervalChannelHandle) = 0, TRC_SUCCESS)
110 …dle) ((void)(__xIntervalHandle), (void)(__uxValue), *(__pxIntervalInstanceHandle) = 0, TRC_SUCCESS)
115 …IntervalInstanceHandle) ((void)(__xIntervalHandle), (void)(__xIntervalInstanceHandle), TRC_SUCCESS)
120 …GetState(__xIntervalHandle, __puxState) ((void)(__xIntervalHandle), *(__puxState) = 0, TRC_SUCCESS)
DtrcPrint.h184 #define xTracePrintInitialize(p) ((void)p, p != 0 ? TRC_SUCCESS : TRC_FAIL)
186 #define xTracePrint(c, s) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_3((void)c, (void)s, TRC_SUCCESS)
188 #define xTracePrintF(c, s, ...) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_3((void)c, (void)s, TRC_SUCCESS)
190 #define xTraceConsoleChannelPrintF(s, ...) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2((void)s, TRC_SUCCESS)
192 …e xTraceVPrintF(c, s, v) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_4((void)c, (void)s, (void)v, TRC_SUCCESS)
/TraceRecorderSource-3.4.0/streamports/Jlink_RTT/include/
DtrcStreamPort.h110 …T_WriteNoLock((TRC_CFG_STREAM_PORT_RTT_UP_BUFFER_INDEX), (const char*)pvData, uiSize), TRC_SUCCESS)
112 …GER_RTT_Write((TRC_CFG_STREAM_PORT_RTT_UP_BUFFER_INDEX), (const char*)pvData, uiSize), TRC_SUCCESS)
125 …((TRC_CFG_STREAM_PORT_RTT_DOWN_BUFFER_INDEX), (char*)(pvData), uiSize), TRC_SUCCESS) : TRC_SUCCESS)
129 #define xTraceStreamPortOnDisable() (void)(TRC_SUCCESS)
131 #define xTraceStreamPortOnTraceBegin() (void)(TRC_SUCCESS)
133 #define xTraceStreamPortOnTraceEnd() (void)(TRC_SUCCESS)
/TraceRecorderSource-3.4.0/streamports/TCPIP/include/
DtrcStreamPort.h58 …e, piBytesWritten) (prvTraceTcpWrite(pvData, uiSize, piBytesWritten) == 0 ? TRC_SUCCESS : TRC_FAIL)
60 …, uiSize, piBytesRead) (prvTraceTcpRead(pvData, uiSize, piBytesRead) == 0 ? TRC_SUCCESS : TRC_FAIL)
62 #define xTraceStreamPortOnEnable(uiStartOption) ((void)(uiStartOption), TRC_SUCCESS)
64 #define xTraceStreamPortOnDisable() (TRC_SUCCESS)
66 #define xTraceStreamPortOnTraceBegin() (TRC_SUCCESS)
/TraceRecorderSource-3.4.0/streamports/ARM_ITM/include/
DtrcStreamPort.h93 …) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_4((void)pvData, (void)uiSize, (void)piBytesWritten, TRC_SUCCESS)
97 …mPortOnEnable(uiStartOption) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2((void)(uiStartOption), TRC_SUCCESS)
99 #define xTraceStreamPortOnDisable() TRC_COMMA_EXPR_TO_STATEMENT_EXPR_1(TRC_SUCCESS)
101 #define xTraceStreamPortOnTraceBegin() TRC_COMMA_EXPR_TO_STATEMENT_EXPR_1(TRC_SUCCESS)
103 #define xTraceStreamPortOnTraceEnd() TRC_COMMA_EXPR_TO_STATEMENT_EXPR_1(TRC_SUCCESS)
/TraceRecorderSource-3.4.0/streamports/TCPIP_Win32/include/
DtrcStreamPort.h61 …BytesWritten) (prvTraceWriteToSocket(pvData, uiSize, piBytesWritten) == 0 ? TRC_SUCCESS : TRC_FAIL)
63 …e, piBytesRead) (prvTraceReadFromSocket(pvData, uiSize, piBytesRead) == 0 ? TRC_SUCCESS : TRC_FAIL)
65 #define xTraceStreamPortOnEnable(uiStartOption) ((void)(uiStartOption), TRC_SUCCESS)
67 #define xTraceStreamPortOnDisable() (TRC_SUCCESS)
69 #define xTraceStreamPortOnTraceBegin() (TRC_SUCCESS)

123