Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 10 of 10) sorted by relevance

/TraceRecorderSource-2.7.6/kernelports/Zephyr/include/
Dtracing_tracerecorder.h54 #define sys_port_trace_k_thread_join_exit(thread, timeout, ret) \ argument
55 sys_trace_k_thread_join_exit(thread, timeout, ret)
60 #define sys_port_trace_k_thread_sleep_exit(timeout, ret) \ argument
61 sys_trace_k_thread_sleep_exit(timeout, ret)
66 #define sys_port_trace_k_thread_msleep_exit(ms, ret) \ argument
67 sys_trace_k_thread_msleep_exit(ms, ret)
72 #define sys_port_trace_k_thread_usleep_exit(us, ret) \ argument
73 sys_trace_k_thread_usleep_exit(us, ret)
106 #define sys_port_trace_k_thread_name_set(thread, ret) \ argument
107 sys_trace_k_thread_name_set(thread, ret)
[all …]
/TraceRecorderSource-2.7.6/kernelports/Zephyr/
DtrcKernelPort.c208 void sys_trace_k_thread_join_exit(struct k_thread *thread, k_timeout_t timeout, int ret) { in sys_trace_k_thread_join_exit() argument
209 if (ret == 0) { in sys_trace_k_thread_join_exit()
217 xTraceSDKEventAdd32(ret); in sys_trace_k_thread_join_exit()
227 void sys_trace_k_thread_sleep_exit(k_timeout_t timeout, int ret) { in sys_trace_k_thread_sleep_exit() argument
230 xTraceSDKEventAdd32(ret); in sys_trace_k_thread_sleep_exit()
240 void sys_trace_k_thread_msleep_exit(int32_t ms, int ret) { in sys_trace_k_thread_msleep_exit() argument
252 void sys_trace_k_thread_usleep_exit(int32_t us, int ret) { in sys_trace_k_thread_usleep_exit() argument
255 xTraceSDKEventAdd32(ret); in sys_trace_k_thread_usleep_exit()
317 void sys_trace_k_thread_name_set(struct k_thread *thread, int ret) { in sys_trace_k_thread_name_set() argument
318 if (ret == 0) { in sys_trace_k_thread_name_set()
[all …]
/TraceRecorderSource-2.7.6/kernelports/FreeRTOS/include/
Daws_wifi.tzext.h98 WIFIReturnCode_t ret = WIFI_On(); in WIFI_On__trace() local
101 prvTraceStoreEvent1(EVENTCODE_WIFI_On, (uint32_t)ret); in WIFI_On__trace()
103 return ret; in WIFI_On__trace()
108 WIFIReturnCode_t ret = WIFI_Off(); in WIFI_Off__trace() local
111 prvTraceStoreEvent1(EVENTCODE_WIFI_Off, (uint32_t)ret); in WIFI_Off__trace()
113 return ret; in WIFI_Off__trace()
118 WIFIReturnCode_t ret = WIFI_ConnectAP(pxNetworkParams); in WIFI_ConnectAP__trace() local
122 …StringEvent(2, EVENTCODE_WIFI_ConnectAP, pxNetworkParams->pcSSID, pxNetworkParams->xSecurity, ret); in WIFI_ConnectAP__trace()
124 return ret; in WIFI_ConnectAP__trace()
Daws_secure_sockets.tzext.h99 int32_t ret = SOCKETS_Connect(xSocket, pxAddress, xAddressLength); in SOCKETS_Connect__trace() local
102 …vent3(EVENTCODE_SOCKETS_Connect, (uint32_t)xSocket, (uint32_t)pxAddress->ulAddress, (uint32_t)ret); in SOCKETS_Connect__trace()
104 return ret; in SOCKETS_Connect__trace()
109 int32_t ret = SOCKETS_Send(xSocket, pvBuffer, xDataLength, ulFlags); in SOCKETS_Send__trace() local
112 prvTraceStoreEvent2(EVENTCODE_SOCKETS_Send, (uint32_t)xSocket, (uint32_t)ret); in SOCKETS_Send__trace()
114 return ret; in SOCKETS_Send__trace()
120 int32_t ret = SOCKETS_Recv(xSocket, pvBuffer, xBufferLength, ulFlags); in SOCKETS_Recv__trace() local
123 prvTraceStoreEvent2(EVENTCODE_SOCKETS_Recv, (uint32_t)xSocket, (uint32_t)ret); in SOCKETS_Recv__trace()
125 return ret; in SOCKETS_Recv__trace()
DtrcKernelPort.h1241 #define tracePEND_FUNC_CALL(func, arg1, arg2, ret) \ argument
1242 if (ret == pdPASS){ \
1251 #define tracePEND_FUNC_CALL_FROM_ISR(func, arg1, arg2, ret) \ argument
2452 #define tracePEND_FUNC_CALL(func, arg1, arg2, ret) \ argument
2453 …prvTraceStoreEvent1((ret == pdPASS) ? PSF_EVENT_TIMER_PENDFUNCCALL : PSF_EVENT_TIMER_PENDFUNCCALL_…
2456 #define tracePEND_FUNC_CALL_FROM_ISR(func, arg1, arg2, ret) \ argument
2457 …prvTraceStoreEvent1((ret == pdPASS) ? PSF_EVENT_TIMER_PENDFUNCCALL_FROMISR : PSF_EVENT_TIMER_PENDF…
/TraceRecorderSource-2.7.6/streamports/TCPIP_Win32/
DtrcStreamingPort.c113 int ret; in writeToSocket() local
123 ret = send(trace_socket, data, size, 0); in writeToSocket()
124 if (ret <= 0) in writeToSocket()
133 return ret; in writeToSocket()
138 *ptrBytesWritten = ret; in writeToSocket()
/TraceRecorderSource-2.7.6/include/
DtrcHardwarePort.h331 unsigned long ret; in prvGetCPSR() local
333 asm volatile (" mrs %0, cpsr" : "=r" (ret) : /* no inputs */ ); in prvGetCPSR()
334 return ret; in prvGetCPSR()
429 unsigned long ret; in prvGetCPSR() local
431 asm volatile (" mrs %0, cpsr" : "=r" (ret) : /* no inputs */ ); in prvGetCPSR()
432 return ret; in prvGetCPSR()
/TraceRecorderSource-2.7.6/
DtrcInternalBuffer.c138 void* ret; in prvPagedEventBufferGetWritePointer() local
167 ret = PageInfo[currentWritePage].WritePointer; in prvPagedEventBufferGetWritePointer()
176 return ret; in prvPagedEventBufferGetWritePointer()
DtrcSnapshotRecorder.c2887 uint16_t ret = 0; in prvTraceCreateSymbolTableEntry() local
2895 ret = 0; in prvTraceCreateSymbolTableEntry()
2930 ret = (uint16_t)(RecorderDataPtr->SymbolTable.nextFreeSymbolIndex - (uint8_t)(len + 5)); in prvTraceCreateSymbolTableEntry()
2933 return ret; in prvTraceCreateSymbolTableEntry()
/TraceRecorderSource-2.7.6/kernelports/ESP-IDF_FreeRTOS/include/
DtrcKernelPort.h1260 #define tracePEND_FUNC_CALL(func, arg1, arg2, ret) \ argument
1261 if (ret == pdPASS){ \
1270 #define tracePEND_FUNC_CALL_FROM_ISR(func, arg1, arg2, ret) \ argument
2450 #define tracePEND_FUNC_CALL(func, arg1, arg2, ret) \ argument
2451 …prvTraceStoreEvent1((ret == pdPASS) ? PSF_EVENT_TIMER_PENDFUNCCALL : PSF_EVENT_TIMER_PENDFUNCCALL_…
2454 #define tracePEND_FUNC_CALL_FROM_ISR(func, arg1, arg2, ret) \ argument
2455 …prvTraceStoreEvent1((ret == pdPASS) ? PSF_EVENT_TIMER_PENDFUNCCALL_FROMISR : PSF_EVENT_TIMER_PENDF…