/TraceRecorderSource-3.4.0/include/ |
D | trcEntryTable.h | 35 …efine TRC_ENTRY_SET_STATE(xEntryHandle, uiStateIndex, uxState) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(… argument 36 #define TRC_ENTRY_SET_OPTIONS(xEntryHandle, uiMask) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(((TraceEntry… argument 37 #define TRC_ENTRY_CLEAR_OPTIONS(xEntryHandle, uiMask) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(((TraceEnt… argument 38 … TRC_ENTRY_GET_ADDRESS(xEntryHandle, ppvAddress) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(ppvAddress) … argument 39 …ne TRC_ENTRY_GET_SYMBOL(xEntryHandle, pszSymbol) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(pszSymbol) =… argument 40 …C_ENTRY_GET_STATE(xEntryHandle, uiStateIndex, puxState) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puxSt… argument 41 #define TRC_ENTRY_GET_STATE_RETURN(xEntryHandle, uiStateIndex) (((TraceEntry_t*)(xEntryHandle))->xS… argument 42 … TRC_ENTRY_GET_OPTIONS(xEntryHandle, puiOptions) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puiOptions) … argument 97 traceResult xTraceEntryDelete(TraceEntryHandle_t xEntryHandle); 140 traceResult xTraceEntrySetSymbol(TraceEntryHandle_t xEntryHandle, const char* szSymbol); [all …]
|
/TraceRecorderSource-3.4.0/ |
D | trcEntryTable.c | 17 …ANDLE(xEntryHandle) ((((TraceUnsignedBaseType_t)(xEntryHandle) >= (TraceUnsignedBaseType_t)pxEntry… argument 23 …fine CALCULATE_ENTRY_INDEX(xEntryHandle) (TraceEntryIndex_t)(((TraceUnsignedBaseType_t)((TraceUnsi… argument 135 traceResult xTraceEntryDelete(TraceEntryHandle_t xEntryHandle) in xTraceEntryDelete() argument 145 TRC_ASSERT(VALIDATE_ENTRY_HANDLE(xEntryHandle)); in xTraceEntryDelete() 150 xIndex = CALCULATE_ENTRY_INDEX(xEntryHandle); in xTraceEntryDelete() 156 if (((TraceEntry_t*)xEntryHandle)->pvAddress == 0) in xTraceEntryDelete() 166 ((TraceEntry_t*)xEntryHandle)->pvAddress = 0; in xTraceEntryDelete() 204 traceResult xTraceEntrySetSymbol(TraceEntryHandle_t xEntryHandle, const char* szSymbol) in xTraceEntrySetSymbol() argument 218 TRC_ASSERT(VALIDATE_ENTRY_HANDLE(xEntryHandle)); in xTraceEntrySetSymbol() 222 …((TraceEntry_t*)xEntryHandle)->szSymbol[i] = szSymbol[i]; /* We do this first to ensure we also ge… in xTraceEntrySetSymbol() [all …]
|
D | trcObject.c | 27 TraceEntryHandle_t xEntryHandle; in xTraceObjectRegisterInternal() local 44 if (xTraceEntryCreateWithAddress(pvObject, &xEntryHandle) == TRC_FAIL) in xTraceObjectRegisterInternal() 54 if (xTraceEntryCreate(&xEntryHandle) == TRC_FAIL) in xTraceObjectRegisterInternal() 61 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() 73 *pxObjectHandle = (TraceObjectHandle_t)xEntryHandle; in xTraceObjectRegisterInternal() 82 …TRC_ASSERT_ALWAYS_EVALUATE(xTraceObjectSetName((TraceObjectHandle_t)xEntryHandle, szName) == TRC_S… in xTraceObjectRegisterInternal() 170 TraceEntryHandle_t xEntryHandle; in xTraceObjectUnregisterWithoutHandle() local 177 if (xTraceEntryFind(pvObject, &xEntryHandle) == TRC_FAIL) in xTraceObjectUnregisterWithoutHandle() [all …]
|
D | trcString.c | 19 TraceEntryHandle_t xEntryHandle; in xTraceStringRegister() local 30 if (xTraceEntryCreate(&xEntryHandle) == TRC_FAIL) in xTraceStringRegister() 37 TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetSymbol(xEntryHandle, szString) == TRC_SUCCESS); in xTraceStringRegister() 39 *pString = (TraceStringHandle_t)xEntryHandle; in xTraceStringRegister() 48 xTraceEventAddPointer(xEventHandle, (void*)xEntryHandle); in xTraceStringRegister()
|
D | trcISR.c | 52 TraceEntryHandle_t xEntryHandle; in xTraceISRRegister() local 72 if (xTraceEntryCreate(&xEntryHandle) == TRC_FAIL) in xTraceISRRegister() 78 TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetSymbol(xEntryHandle, szName) == TRC_SUCCESS); in xTraceISRRegister() 81 …TRC_ASSERT_ALWAYS_EVALUATE(xTraceEntrySetState(xEntryHandle, 0, (TraceUnsignedBaseType_t)uiPriorit… in xTraceISRRegister() 83 *pxISRHandle = (TraceISRHandle_t)xEntryHandle; in xTraceISRRegister() 92 xTraceEventAddPointer(xEventHandle, (void*)xEntryHandle); in xTraceISRRegister()
|
D | trcTask.c | 84 TraceEntryHandle_t xEntryHandle; in xTraceTaskSetPriorityWithoutHandle() local 86 if (xTraceEntryFind(pvTask, &xEntryHandle) == TRC_FAIL) in xTraceTaskSetPriorityWithoutHandle() 92 …TRC_ASSERT_ALWAYS_EVALUATE(xTraceObjectSetState((TraceObjectHandle_t)xEntryHandle, uxPriority) == … in xTraceTaskSetPriorityWithoutHandle()
|
D | trcStreamingRecorder.c | 518 TraceEntryHandle_t xEntryHandle; in prvTraceStoreEntryTable() local 534 xTraceEntryGetAtIndex(i, &xEntryHandle); in prvTraceStoreEntryTable() 535 xTraceEntryGetAddress(xEntryHandle, &pvEntryAddress); in prvTraceStoreEntryTable() 542 xTraceEventAddData(xEventHandle, (void*)xEntryHandle, sizeof(TraceEntry_t)); in prvTraceStoreEntryTable()
|
/TraceRecorderSource-3.4.0/kernelports/ThreadX/ |
D | trcKernelPort.c | 94 TraceEntryHandle_t xEntryHandle; in xTraceKernelPortEnable() local 101 if (xTraceEntryFind((void*)pxTxThreadPtr, &xEntryHandle) == TRC_FAIL) in xTraceKernelPortEnable() 104 if (xTraceEntryCreateWithAddress((void*)pxTxThreadPtr, &xEntryHandle) == TRC_FAIL) in xTraceKernelPortEnable() 110 xTraceEntrySetSymbol(xEntryHandle, pxTxThreadPtr->tx_thread_name); in xTraceKernelPortEnable()
|
/TraceRecorderSource-3.4.0/kernelports/Zephyr/ |
D | trcKernelPort.c | 281 TraceEntryHandle_t xEntryHandle; in sys_trace_k_thread_create() local 286 if (xTraceEntryCreateWithAddress((void*)thread, &xEntryHandle) == TRC_FAIL) in sys_trace_k_thread_create() 292 xTraceEntrySetState(xEntryHandle, 0, prio); in sys_trace_k_thread_create() 308 xTraceObjectSetName(xEntryHandle, thread->name); in sys_trace_k_thread_create() 556 TraceEntryHandle_t xEntryHandle; in sys_trace_k_thread_sched_abort() local 562 if (xTraceEntryFind((void*)thread, &xEntryHandle) == TRC_FAIL) in sys_trace_k_thread_sched_abort() 569 if (xTraceEntryDelete(xEntryHandle) == TRC_FAIL) in sys_trace_k_thread_sched_abort()
|