Home
last modified time | relevance | path

Searched refs:TRC_ASSERT (Results 1 – 25 of 26) sorted by relevance

12

/percepio-3.7.0/TraceRecorder/
DtrcEntryTable.c40 TRC_ASSERT(pxBuffer != (void*)0); in xTraceEntryIndexTableInitialize()
52 TRC_ASSERT(pxBuffer != (void*)0); in xTraceEntryTableInitialize()
55 TRC_ASSERT((TRC_ENTRY_TABLE_SLOTS) != 0); in xTraceEntryTableInitialize()
93 TRC_ASSERT(pxEntryHandle != (void*)0); in xTraceEntryCreate()
132 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_ENTRY)); in xTraceEntryDelete()
135TRC_ASSERT(VALIDATE_ENTRY_HANDLE(xEntryHandle)); /*cstat !MISRAC2004-17.3 !MISRAC2012-Rule-18.3 Su… in xTraceEntryDelete()
142 TRC_ASSERT((uint32_t)xIndex < (uint32_t)(TRC_ENTRY_TABLE_SLOTS)); in xTraceEntryDelete()
172 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_ENTRY)); in xTraceEntryFind()
175 TRC_ASSERT(pxEntryHandle != (void*)0); in xTraceEntryFind()
178 TRC_ASSERT(pvAddress != (void*)0); in xTraceEntryFind()
[all …]
DtrcTimestamp.c20 TRC_ASSERT(pxBuffer != (void*)0); in xTraceTimestampInitialize()
49 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_TIMESTAMP)); in xTraceTimestampGet()
52 TRC_ASSERT(puiTimestamp != (void*)0); in xTraceTimestampGet()
89 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_TIMESTAMP)); in xTraceTimestampGetWraparounds()
92 TRC_ASSERT(puiTimerWraparounds != (void*)0); in xTraceTimestampGetWraparounds()
102 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_TIMESTAMP)); in xTraceTimestampSetFrequency()
112 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_TIMESTAMP)); in xTraceTimestampSetPeriod()
122 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_TIMESTAMP)); in xTraceTimestampSetOsTickCount()
132 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_TIMESTAMP)); in xTraceTimestampGetFrequency()
135 TRC_ASSERT(puxFrequency != (void*)0); in xTraceTimestampGetFrequency()
[all …]
DtrcMultiCoreEventBuffer.c22 TRC_ASSERT(pxTraceMultiCoreEventBuffer != (void*)0); in xTraceMultiCoreEventBufferInitialize()
25 TRC_ASSERT(puiBuffer != (void*)0); in xTraceMultiCoreEventBufferInitialize()
30 TRC_ASSERT(uiBufferSizePerCore != 0u); in xTraceMultiCoreEventBufferInitialize()
57 TRC_ASSERT(pxTraceMultiCoreEventBuffer != (void*)0); in xTraceMultiCoreEventBufferAlloc()
59 TRC_ASSERT((TRC_CFG_GET_CURRENT_CORE()) < (TRC_CFG_CORE_COUNT)); in xTraceMultiCoreEventBufferAlloc()
68 TRC_ASSERT(pxTraceMultiCoreEventBuffer != (void*)0); in xTraceMultiCoreEventBufferAllocCommit()
70 TRC_ASSERT((TRC_CFG_GET_CURRENT_CORE()) < (TRC_CFG_CORE_COUNT)); in xTraceMultiCoreEventBufferAllocCommit()
79 TRC_ASSERT(pxTraceMultiCoreEventBuffer != (void*)0); in xTraceMultiCoreEventBufferPush()
81 TRC_ASSERT((TRC_CFG_GET_CURRENT_CORE()) < (TRC_CFG_CORE_COUNT)); in xTraceMultiCoreEventBufferPush()
95 TRC_ASSERT(pxTraceMultiCoreEventBuffer != (void*)0); in xTraceMultiCoreEventBufferTransferAll()
[all …]
DtrcExtension.c28 TRC_ASSERT(pxBuffer != (void*)0); in xTraceExtensionInitialize()
46 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_EXTENSION)); in xTraceExtensionCreate()
49 TRC_ASSERT(uiEventCount != 0u); in xTraceExtensionCreate()
52 TRC_ASSERT(pxExtensionHandle != (void*)0); in xTraceExtensionCreate()
55 TRC_ASSERT(pxExtensionHandle != (void*)0); in xTraceExtensionCreate()
58 TRC_ASSERT(szName != (void*)0); in xTraceExtensionCreate()
61TRC_ASSERT(szName[0] != (char)0); /*cstat !MISRAC2004-17.4_b We need to check the first characted*… in xTraceExtensionCreate()
85 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_EXTENSION)); in xTraceExtensionGetBaseEventId()
88 TRC_ASSERT(puiBaseEventId != (void*)0); in xTraceExtensionGetBaseEventId()
102 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_EXTENSION)); in xTraceExtensionGetConfigName()
DtrcDiagnostics.c22 TRC_ASSERT(pxBuffer != (void*)0); in xTraceDiagnosticsInitialize()
39 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_DIAGNOSTICS)); in xTraceDiagnosticsGet()
42 TRC_ASSERT((TraceUnsignedBaseType_t)xType < TRC_DIAGNOSTICS_COUNT); in xTraceDiagnosticsGet()
45 TRC_ASSERT(pxValue != (void*)0); in xTraceDiagnosticsGet()
55 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_DIAGNOSTICS)); in xTraceDiagnosticsSet()
58 TRC_ASSERT((TraceUnsignedBaseType_t)xType < TRC_DIAGNOSTICS_COUNT); in xTraceDiagnosticsSet()
68 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_DIAGNOSTICS)); in xTraceDiagnosticsAdd()
71 TRC_ASSERT((TraceUnsignedBaseType_t)xType < TRC_DIAGNOSTICS_COUNT); in xTraceDiagnosticsAdd()
91 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_DIAGNOSTICS)); in xTraceDiagnosticsSetIfHigher()
94 TRC_ASSERT((TraceUnsignedBaseType_t)xType < TRC_DIAGNOSTICS_COUNT); in xTraceDiagnosticsSetIfHigher()
[all …]
DtrcInternalEventBuffer.c25 TRC_ASSERT(uiSize > sizeof(TraceMultiCoreEventBuffer_t)); in xTraceInternalEventBufferInitialize()
46 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_INTERNAL_EVENT_BUFFER)); in xTraceInternalEventBufferAlloc()
56 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_INTERNAL_EVENT_BUFFER)); in xTraceInternalEventBufferAllocCommit()
64 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_INTERNAL_EVENT_BUFFER)); in xTraceInternalEventBufferPush()
74 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_INTERNAL_EVENT_BUFFER)); in xTraceInternalEventBufferTransferAll()
85 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_INTERNAL_EVENT_BUFFER)); in xTraceInternalEventBufferTransferChunk()
104 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_INTERNAL_EVENT_BUFFER)); in xTraceInternalEventBufferClear()
DtrcCounter.c19 TRC_ASSERT(pxBuffer != (void*)0); in xTraceCounterInitialize()
32 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_COUNTER)); in xTraceCounterSetCallback()
34 TRC_ASSERT(xCallback != 0); in xTraceCounterSetCallback()
47 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_COUNTER)); in xTraceCounterCreate()
50 TRC_ASSERT(pxCounterHandle != (void*)0); in xTraceCounterCreate()
52 TRC_ASSERT((xInitialValue >= xLowerLimit) && (xInitialValue <= xUpperLimit)); in xTraceCounterCreate()
74 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_COUNTER)); in xTraceCounterSet()
DtrcInterval.c21 TRC_ASSERT(pxIntervalChannelSetHandle != (void*)0); in xTraceIntervalChannelSetCreate()
43 TRC_ASSERT(pxIntervalChannelHandle != (void*)0); in xTraceIntervalChannelCreate()
46 TRC_ASSERT(xIntervalChannelSetHandle != 0); in xTraceIntervalChannelCreate()
64 TRC_ASSERT(xIntervalChannelHandle != 0); in xTraceIntervalStart()
66 TRC_ASSERT(pxIntervalInstanceHandle != (void*)0); in xTraceIntervalStart()
80 TRC_ASSERT(xIntervalChannelHandle != 0); in xTraceIntervalStop()
DtrcStateMachine.c24 TRC_ASSERT(pxStateMachineHandle != (void*)0); in xTraceStateMachineCreate()
46 TRC_ASSERT(xStateMachineHandle != 0); in xTraceStateMachineStateCreate()
49 TRC_ASSERT(pxStateHandle != (void*)0); in xTraceStateMachineStateCreate()
68 TRC_ASSERT(xStateMachineHandle != 0); in xTraceStateMachineSetState()
71 TRC_ASSERT(xStateHandle != 0); in xTraceStateMachineSetState()
75TRC_ASSERT(xStateMachineHandle == (TraceStateMachineHandle_t)xTraceEntryGetStateReturn((TraceEntry… in xTraceStateMachineSetState()
DtrcStaticBuffer.c20 TRC_ASSERT(pxBuffer != (void*)0); in xTraceStaticBufferInitialize()
37 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_STATIC_BUFFER)); in xTraceStaticBufferGet()
39 TRC_ASSERT(ppvBuffer != (void*)0); in xTraceStaticBufferGet()
41 TRC_ASSERT(xTraceISRGetCurrentNesting(&ISR_nesting) == TRC_SUCCESS); in xTraceStaticBufferGet()
DtrcISR.c23 TRC_ASSERT(pxBuffer != (void*)0); in xTraceISRInitialize()
59 TRC_ASSERT(pxISRHandle != (void*)0); in xTraceISRRegister()
100 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_ISR)); in xTraceISRBegin()
145 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_ISR)); in xTraceISREnd()
182 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_ISR)); in xTraceISRGetCurrentNesting()
185 TRC_ASSERT(puiValue != (void*)0); in xTraceISRGetCurrentNesting()
196 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_ISR)); in xTraceISRGetCurrentNestingReturned()
204 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_ISR)); in xTraceISRGetCurrent()
207 TRC_ASSERT(pxISRHandle != (void*)0); in xTraceISRGetCurrent()
DtrcStackMonitor.c26 TRC_ASSERT(pxBuffer != 0); in xTraceStackMonitorInitialize()
49 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_STACK_MONITOR)); in xTraceStackMonitorAdd()
88 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_STACK_MONITOR)); in xTraceStackMonitorRemove()
135 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_STACK_MONITOR)); in xTraceStackMonitorGetAtIndex()
138 TRC_ASSERT(ppvTask != 0); in xTraceStackMonitorGetAtIndex()
141 TRC_ASSERT(puxLowWaterMark != 0); in xTraceStackMonitorGetAtIndex()
144 TRC_ASSERT(uiIndex < (TRC_CFG_STACK_MONITOR_MAX_TASKS)); in xTraceStackMonitorGetAtIndex()
165 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_STACK_MONITOR)); in xTraceStackMonitorReport()
DtrcEventBuffer.c19 TRC_ASSERT(pxTraceEventBuffer != (void*)0); in xTraceEventBufferInitialize()
22 TRC_ASSERT(puiBuffer != (void*)0); in xTraceEventBufferInitialize()
25 TRC_ASSERT(uiSize != 0u); in xTraceEventBufferInitialize()
99 TRC_ASSERT(pxTraceEventBuffer != (void*)0); in xTraceEventBufferAlloc()
102 TRC_ASSERT(ppvData != (void*)0); in xTraceEventBufferAlloc()
106 TRC_ASSERT(uiBufferSize != 0u); in xTraceEventBufferAlloc()
110 TRC_ASSERT(uiSize <= uiBufferSize); in xTraceEventBufferAlloc()
280 TRC_ASSERT(pxTraceEventBuffer != (void*)0); in xTraceEventBufferPush()
283 TRC_ASSERT(pvData != (void*)0); in xTraceEventBufferPush()
287 TRC_ASSERT(uiBufferSize != 0u); in xTraceEventBufferPush()
[all …]
DtrcDependency.c23 TRC_ASSERT(xTraceIsComponentInitialized(TRC_RECORDER_COMPONENT_CORE)); in xTraceDependencyRegister()
26 TRC_ASSERT(szName != (void*)0); in xTraceDependencyRegister()
29TRC_ASSERT(szName[0] != (char)0); /*cstat !MISRAC2004-17.4_b Checking first character*/ /*cstat !M… in xTraceDependencyRegister()
DtrcAssert.c27 TRC_ASSERT(pxBuffer != (void*)0); in xTraceAssertInitialize()
88 TRC_ASSERT(pxFileNameStringHandle != (void*)0); in xTraceAssertGet()
90 TRC_ASSERT(puxLineNumber != (void*)0); in xTraceAssertGet()
DtrcString.c23 TRC_ASSERT(szString != (void*)0); in xTraceStringRegister()
26 TRC_ASSERT(pString != (void*)0); in xTraceStringRegister()
DtrcRunnable.c25 TRC_ASSERT(szName != (void*)0); in xTraceRunnableRegister()
28 TRC_ASSERT(pxRunnableHandle != (void*)0); in xTraceRunnableRegister()
DtrcError.c27 TRC_ASSERT(pxBuffer != (void*)0); in xTraceErrorInitialize()
98 TRC_ASSERT(pszError != (void*)0); in xTraceErrorGetLast()
DtrcEvent.c131 TRC_ASSERT(pxBuffer != (void*)0); in xTraceEventInitialize()
509 TRC_ASSERT(pvAddress != (void*)0); in xTraceEventGetSize()
512 TRC_ASSERT(puiSize != (void*)0); in xTraceEventGetSize()
515TRC_ASSERT((sizeof(TraceEvent0_t) + ((uint32_t)(uint16_t)(TRC_EVENT_GET_PARAM_COUNT(((const TraceE… in xTraceEventGetSize()
DtrcTask.c32 TRC_ASSERT(pxBuffer != (void*)0); in xTraceTaskInitialize()
DtrcObject.c31 TRC_ASSERT(pxObjectHandle != (void*)0); in xTraceObjectRegisterInternal()
34 TRC_ASSERT(uxStateCount <= (uint32_t)(TRC_ENTRY_TABLE_STATE_COUNT)); in xTraceObjectRegisterInternal()
/percepio-3.7.0/TraceRecorder/streamports/ARM_ITM/
DtrcStreamPort.c91 TRC_ASSERT(size % 4 == 0); in prvTraceItmWrite()
92 TRC_ASSERT(ptrBytesWritten != 0); in prvTraceItmWrite()
117 TRC_ASSERT(piBytesRead != 0); in prvTraceItmRead()
147 TRC_ASSERT(pxBuffer != 0); in xTraceStreamPortInitialize()
/percepio-3.7.0/TraceRecorder/include/
DtrcAssert.h39 #define TRC_ASSERT(__condition) if (!(__condition)) { prvTraceAssertCreate(__FILE__, __LINE__); ret… macro
41 #define TRC_ASSERT_ALWAYS_EVALUATE TRC_ASSERT
109 #define TRC_ASSERT(__condition)
/percepio-3.7.0/TraceRecorder/streamports/File/
DtrcStreamPort.c27 TRC_ASSERT(pxBuffer != 0); in xTraceStreamPortInitialize()
/percepio-3.7.0/TraceRecorder/kernelports/Zephyr/streamports/Semihost/
DtrcStreamPort.c26 TRC_ASSERT(pxBuffer != 0); in xTraceStreamPortInitialize()

12