Lines Matching +full:data +full:- +full:timeout
4 * SPDX-License-Identifier: Apache-2.0
65 uint8_t *data, uint32_t length) in tracing_backends_output() argument
67 /* Check the output data. */ in tracing_backends_output()
76 if (strstr(data, string_tracked[i]) != NULL) { in tracing_backends_output()
85 if (strstr(data, "tracing_format_data_testing") != NULL) { in tracing_backends_output()
88 if (strstr(data, "tracing_format_raw_data_testing") != NULL) { in tracing_backends_output()
91 if (strstr(data, "tracing_format_string_testing") != NULL) { in tracing_backends_output()
108 * @details For asynchronous mode, self-designed tracing uart backend
123 k_timeout_t timeout = K_MSEC(1); in ZTEST() local
142 sys_trace_k_thread_sleep_enter(timeout); in ZTEST()
143 sys_trace_k_thread_sleep_exit(timeout, ret); in ZTEST()
153 sys_trace_k_thread_join_blocking(&thread, timeout); in ZTEST()
154 sys_trace_k_thread_join_exit(&thread, timeout, ret); in ZTEST()
166 sys_trace_k_condvar_wait_enter(&condvar, &mutex, timeout); in ZTEST()
167 sys_trace_k_condvar_wait_exit(&condvar, &mutex, timeout, ret); in ZTEST()
171 sys_trace_k_sem_take_enter(&sem2, timeout); in ZTEST()
172 sys_trace_k_sem_take_exit(&sem, timeout, ret); in ZTEST()
173 sys_trace_k_sem_take_blocking(&sem, timeout); in ZTEST()
176 sys_trace_k_mutex_lock_enter(&mutex, timeout); in ZTEST()
177 sys_trace_k_mutex_lock_exit(&mutex, timeout, ret); in ZTEST()
178 sys_trace_k_mutex_lock_blocking(&mutex, timeout); in ZTEST()
182 sys_trace_k_timer_start(&timer, timeout, timeout); in ZTEST()
195 * @details For synchronize mode, self-designed tracing uart backend
214 * @details Packaged the data by different format as the tracing input,
215 * check the output for the self-designed uart backend.
222 uint8_t data[] = "tracing_format_data_testing"; in ZTEST() local
226 tracing_data.data = data; in ZTEST()
227 tracing_data.length = sizeof(data); in ZTEST()
228 tracing_raw_data.data = raw_data; in ZTEST()
235 tracing_format_raw_data(tracing_raw_data.data, tracing_raw_data.length); in ZTEST()