Home
last modified time | relevance | path

Searched refs:TRC_FAIL (Results 1 – 25 of 48) sorted by relevance

12

/TraceRecorderSource-3.4.0/
DtrcStreamingRecorder.c152 if (xTraceHeaderInitialize(&pxTraceRecorderData->xHeaderBuffer) == TRC_FAIL) in xTraceInitialize()
154 return TRC_FAIL; in xTraceInitialize()
157 if (xTraceEntryTableInitialize(&pxTraceRecorderData->xEntryTableBuffer) == TRC_FAIL) in xTraceInitialize()
159 return TRC_FAIL; in xTraceInitialize()
162 if (xTraceTimestampInitialize(&pxTraceRecorderData->xTimestampBuffer) == TRC_FAIL) in xTraceInitialize()
164 return TRC_FAIL; in xTraceInitialize()
168 if (xTraceStackMonitorInitialize(&pxTraceRecorderData->xStackMonitorBuffer) == TRC_FAIL) in xTraceInitialize()
170 return TRC_FAIL; in xTraceInitialize()
173 if (xTraceStreamPortInitialize(&pxTraceRecorderData->xStreamPortBuffer) == TRC_FAIL) in xTraceInitialize()
175 return TRC_FAIL; in xTraceInitialize()
[all …]
DtrcError.c58 return TRC_FAIL; in xTraceWarning()
78 return TRC_FAIL; in xTraceError()
87 if (prvTraceErrorPrint(uiErrorCode) == TRC_FAIL) in xTraceError()
91 return TRC_FAIL; in xTraceError()
111 return TRC_FAIL; in xTraceErrorGetLast()
131 return TRC_FAIL; in xTraceErrorClear()
155 if (xTraceStringRegister("#WFR", &pxErrorInfo->xWarningChannel) == TRC_FAIL) in prvTraceErrorPrint()
157 return TRC_FAIL; in prvTraceErrorPrint()
187 if (xTraceAssertGet(&xFileName, &uxLineNumber) == TRC_FAIL) in prvTraceErrorPrint()
189 return TRC_FAIL; in prvTraceErrorPrint()
[all …]
DtrcObject.c44 if (xTraceEntryCreateWithAddress(pvObject, &xEntryHandle) == TRC_FAIL) in xTraceObjectRegisterInternal()
48 return TRC_FAIL; in xTraceObjectRegisterInternal()
54 if (xTraceEntryCreate(&xEntryHandle) == TRC_FAIL) in xTraceObjectRegisterInternal()
58 return TRC_FAIL; in xTraceObjectRegisterInternal()
177 if (xTraceEntryFind(pvObject, &xEntryHandle) == TRC_FAIL) in xTraceObjectUnregisterWithoutHandle()
181 return TRC_FAIL; in xTraceObjectUnregisterWithoutHandle()
200 if (xTraceEntryFind(pvObject, &xEntryHandle) == TRC_FAIL) in xTraceObjectSetNameWithoutHandle()
203 if (xTraceEntryCreateWithAddress(pvObject, &xEntryHandle) == TRC_FAIL) in xTraceObjectSetNameWithoutHandle()
207 return TRC_FAIL; in xTraceObjectSetNameWithoutHandle()
227 if (xTraceEntryFind(pvObject, &xEntryHandle) == TRC_FAIL) in xTraceObjectSetSpecificStateWithoutHandle()
[all …]
DtrcPrint.c80 return TRC_FAIL; in xTracePrint()
121 return TRC_FAIL; in xTraceConsoleChannelPrintF()
126 if (xTraceStringRegister("Debug Console", &pxPrintInfo->consoleChannel) == TRC_FAIL) in xTraceConsoleChannelPrintF()
128 return TRC_FAIL; in xTraceConsoleChannelPrintF()
193 return TRC_FAIL; in xTracePrintF()
219 return TRC_FAIL; in xTraceVPrintF()
265 if (xTraceStringRegister("Default", &pxPrintInfo->defaultChannel) == TRC_FAIL) in prvTraceVPrintF()
267 return TRC_FAIL; in prvTraceVPrintF()
275 if (xTraceEventBegin(uiEventCode, uiSize , &xEventHandle) == TRC_FAIL) in prvTraceVPrintF()
277 return TRC_FAIL; in prvTraceVPrintF()
DtrcTask.c86 if (xTraceEntryFind(pvTask, &xEntryHandle) == TRC_FAIL) in xTraceTaskSetPriorityWithoutHandle()
88 return TRC_FAIL; in xTraceTaskSetPriorityWithoutHandle()
107 traceResult xResult = TRC_FAIL; in xTraceTaskSwitch()
149 traceResult xResult = TRC_FAIL; in xTraceTaskReady()
167 if (xTraceEventBegin(PSF_EVENT_IFE_DIRECT, 0, &xEventHandle) == TRC_FAIL) in xTraceTaskInstanceFinishedNow()
169 return TRC_FAIL; in xTraceTaskInstanceFinishedNow()
181 if (xTraceEventBegin(PSF_EVENT_IFE_NEXT, 0, &xEventHandle) == TRC_FAIL) in xTraceTaskInstanceFinishedNext()
183 return TRC_FAIL; in xTraceTaskInstanceFinishedNext()
DtrcEvent.c68 return TRC_FAIL; in xTraceEventBeginRawOffline()
87 …TRC_ASSERT_CUSTOM_ON_FAIL(pxEventData->pvBlob == 0, TRACE_EXIT_CRITICAL_SECTION(); return TRC_FAIL in xTraceEventBeginRawOffline()
96 if (xTraceStreamPortAllocate(pxEventData->size, &pxEventData->pvBlob) == TRC_FAIL) in xTraceEventBeginRawOffline()
99 return TRC_FAIL; in xTraceEventBeginRawOffline()
119 return TRC_FAIL; in xTraceEventBeginRawOfflineBlocking()
138 …TRC_ASSERT_CUSTOM_ON_FAIL(pxEventData->pvBlob == 0, TRACE_EXIT_CRITICAL_SECTION(); return TRC_FAIL in xTraceEventBeginRawOfflineBlocking()
171 …ponentInitialized(TRC_RECORDER_COMPONENT_EVENT), TRACE_EXIT_CRITICAL_SECTION(); return TRC_FAIL; ); in xTraceEventEndOffline()
174 TRC_ASSERT_CUSTOM_ON_FAIL(pxEventData != 0, TRACE_EXIT_CRITICAL_SECTION(); return TRC_FAIL; ); in xTraceEventEndOffline()
177 …TRC_ASSERT_CUSTOM_ON_FAIL(pxEventData->pvBlob != 0, TRACE_EXIT_CRITICAL_SECTION(); return TRC_FAIL in xTraceEventEndOffline()
206 …ponentInitialized(TRC_RECORDER_COMPONENT_EVENT), TRACE_EXIT_CRITICAL_SECTION(); return TRC_FAIL; ); in xTraceEventEndOfflineBlocking()
[all …]
DtrcStateMachine.c28 if (xTraceObjectRegister(PSF_EVENT_STATEMACHINE_CREATE , 0, szName, 0, &xObjectHandle) == TRC_FAIL) in xTraceStateMachineCreate()
30 return TRC_FAIL; in xTraceStateMachineCreate()
52 …STATE_CREATE, 0, szName, (TraceUnsignedBaseType_t)xStateMachineHandle, &xObjectHandle) == TRC_FAIL) in xTraceStateMachineStateCreate()
54 return TRC_FAIL; in xTraceStateMachineStateCreate()
DtrcInterval.c25 …aceObjectRegister(PSF_EVENT_INTERVAL_CHANNEL_SET_CREATE, 0, szName, 0, &xObjectHandle) == TRC_FAIL) in xTraceIntervalChannelSetCreate()
27 return TRC_FAIL; in xTraceIntervalChannelSetCreate()
49 …F_EVENT_INTERVAL_CHANNEL_CREATE, 0, szName, xIntervalChannelSetHandle, &xObjectHandle) == TRC_FAIL) in xTraceIntervalChannelCreate()
51 return TRC_FAIL; in xTraceIntervalChannelCreate()
DtrcMultiCoreEventBuffer.c44 uiBufferSizePerCore - sizeof(TraceEventBuffer_t)) == TRC_FAIL) in xTraceMultiCoreEventBufferInitialize()
46 return TRC_FAIL; in xTraceMultiCoreEventBufferInitialize()
84 …EventBufferTransfer(pxTraceMultiCoreEventBuffer->xEventBuffer[coreId], &iBytesWritten) == TRC_FAIL) in xTraceMultiCoreEventBufferTransfer()
86 return TRC_FAIL; in xTraceMultiCoreEventBufferTransfer()
DtrcISR.c59 return TRC_FAIL; in xTraceISRRegister()
72 if (xTraceEntryCreate(&xEntryHandle) == TRC_FAIL) in xTraceISRRegister()
74 return TRC_FAIL; in xTraceISRRegister()
152 return TRC_FAIL; in xTraceISRBegin()
254 return TRC_FAIL; in xTraceISRGetCurrent()
DtrcAssert.c66 if (xTraceEntryCreate(&pxAssertInfo->xEntry) == TRC_FAIL) in prvTraceAssertCreate()
104 return TRC_FAIL; in xTraceAssertGet()
112 return TRC_FAIL; in xTraceAssertGet()
DtrcStackMonitor.c69 return TRC_FAIL; in xTraceStackMonitorAdd()
80 return TRC_FAIL; in xTraceStackMonitorAdd()
108 return TRC_FAIL; in xTraceStackMonitorRemove()
144 return TRC_FAIL; in xTraceStackMonitorRemove()
DtrcInternalEventBuffer.c37 …er[sizeof(TraceMultiCoreEventBuffer_t)], uiSize - sizeof(TraceMultiCoreEventBuffer_t)) == TRC_FAIL) in xTraceInternalEventBufferInitialize()
39 return TRC_FAIL; in xTraceInternalEventBufferInitialize()
DtrcString.c30 if (xTraceEntryCreate(&xEntryHandle) == TRC_FAIL) in xTraceStringRegister()
32 return TRC_FAIL; in xTraceStringRegister()
DtrcEntryTable.c99 return TRC_FAIL; in xTraceEntryCreate()
113 return TRC_FAIL; in xTraceEntryCreate()
161 return TRC_FAIL; in xTraceEntryDelete()
201 return TRC_FAIL; in xTraceEntryFind()
412 return TRC_FAIL; in prvEntryIndexTake()
DtrcExtension.c46 …_EXTENSION_CREATE, 0, szName, 3, uxStates, TRC_ENTRY_OPTION_EXTENSION, &xObjectHandle) == TRC_FAIL) in xTraceExtensionCreate()
48 return TRC_FAIL; in xTraceExtensionCreate()
/TraceRecorderSource-3.4.0/streamports/RingBuffer/
DtrcStreamPort.c33 return TRC_FAIL; in xTraceStreamPortInitialize()
42 …ITE, pxRingBuffer->xEventBuffer.uiBuffer, sizeof(pxRingBuffer->xEventBuffer.uiBuffer)) == TRC_FAIL) in xTraceStreamPortInitialize()
44 return TRC_FAIL; in xTraceStreamPortInitialize()
47 …KIP, pxRingBuffer->xEventBuffer.uiBuffer, sizeof(pxRingBuffer->xEventBuffer.uiBuffer)) == TRC_FAIL) in xTraceStreamPortInitialize()
49 return TRC_FAIL; in xTraceStreamPortInitialize()
53 if (xTraceHeaderInitialize(&pxRingBuffer->xHeaderBuffer) == TRC_FAIL) in xTraceStreamPortInitialize()
55 return TRC_FAIL; in xTraceStreamPortInitialize()
58 if (xTraceEntryTableInitialize(&pxRingBuffer->xEntryTableBuffer) == TRC_FAIL) in xTraceStreamPortInitialize()
60 return TRC_FAIL; in xTraceStreamPortInitialize()
63 if (xTraceTimestampInitialize(&pxRingBuffer->xTimestampInfo) == TRC_FAIL) in xTraceStreamPortInitialize()
[all …]
/TraceRecorderSource-3.4.0/streamports/File/
DtrcStreamPort.c42 return TRC_FAIL; in xTraceStreamPortOnTraceBegin()
52 return TRC_FAIL; in xTraceStreamPortOnTraceBegin()
67 return TRC_FAIL; in xTraceStreamPortOnTraceEnd()
/TraceRecorderSource-3.4.0/include/
DtrcHeap.h154 …e, (void)uxCurrent, (void)uxHighWaterMark, (void)uxMax, pxHeapHandle != 0 ? TRC_SUCCESS : TRC_FAIL)
160 …(void)xHeapHandle, puxCurrent != 0 ? *puxCurrent = 0 : 0, puxCurrent != 0 ? TRC_SUCCESS : TRC_FAIL)
162 … puxHighWaterMark != 0 ? *puxHighWaterMark = 0 : 0, puxHighWaterMark != 0 ? TRC_SUCCESS : TRC_FAIL)
164 …e, puxMax) ((void)xHeapHandle, puxMax != 0 ? *puxMax = 0 : 0, puxMax != 0 ? TRC_SUCCESS : TRC_FAIL)
DtrcAssert.h41 …ERT(__condition) if (!(__condition)) { prvTraceAssertCreate(__FILE__, __LINE__); return TRC_FAIL; }
53 …aseType_t)(sizeof(x) == sizeof(y)))) { prvTraceAssertCreate(__FILE__, __LINE__); return TRC_FAIL; }
129 …xFileNameStringHandle, puxLineNumber) ((void)pxFileNameStringHandle, (void)puxLineNumber, TRC_FAIL)
DtrcInternalEventBuffer.h96 …nalEventBufferInitialize(puiBuffer, uiSize) ((void)uiSize, puiBuffer != 0 ? TRC_SUCCESS : TRC_FAIL)
97 … uiSize, piBytesWritten) ((void)uiSize, (void)piBytesWritten, pvData != 0 ? TRC_SUCCESS : TRC_FAIL)
/TraceRecorderSource-3.4.0/kernelports/ThreadX/
DtrcKernelPort.c76 return TRC_FAIL; in xTraceKernelPortInitialize()
101 if (xTraceEntryFind((void*)pxTxThreadPtr, &xEntryHandle) == TRC_FAIL) in xTraceKernelPortEnable()
104 if (xTraceEntryCreateWithAddress((void*)pxTxThreadPtr, &xEntryHandle) == TRC_FAIL) in xTraceKernelPortEnable()
/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)
/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)
/TraceRecorderSource-3.4.0/streamports/XMOS_xScope/
DtrcStreamPort.c34 return TRC_FAIL; in xTraceStreamPortInitialize()
67 return TRC_FAIL; in xTraceStreamPortCommit()

12