Searched refs:log_buffer (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/lib/mpsc_pbuf/src/ |
D | main.c | 139 ZTEST(log_buffer, test_item_put_no_overwrite) in ZTEST() argument 166 ZTEST(log_buffer, test_item_put_overwrite) in ZTEST() argument 211 ZTEST(log_buffer, test_item_put_saturate) in ZTEST() argument 252 ZTEST(log_buffer, test_benchmark_item_put) in ZTEST() argument 290 ZTEST(log_buffer, test_item_put_ext_no_overwrite) in ZTEST() argument 325 ZTEST(log_buffer, test_item_put_word_ext_overwrite) in ZTEST() argument 375 ZTEST(log_buffer, test_item_put_ext_saturate) in ZTEST() argument 422 ZTEST(log_buffer, test_benchmark_item_put_ext) in ZTEST() argument 473 ZTEST(log_buffer, test_benchmark_item_put_data) in ZTEST() argument 512 ZTEST(log_buffer, test_put_data_overwrite) in ZTEST() argument [all …]
|
/Zephyr-latest/subsys/logging/ |
D | log_core.c | 120 static STRUCT_SECTION_ITERABLE_ALTERNATE(log_mpsc_pbuf, mpsc_pbuf_buffer, log_buffer); 641 mpsc_pbuf_init(&log_buffer, &mpsc_config); in z_log_msg_init() 642 curr_log_buffer = &log_buffer; in z_log_msg_init() 661 return msg_alloc(&log_buffer, wlen); in z_log_msg_alloc() 693 msg_commit(&log_buffer, msg); in z_log_msg_commit() 699 return (union log_msg_generic *)mpsc_pbuf_claim(&log_buffer); in z_log_msg_local_claim() 816 return msg_pending(&log_buffer); in z_log_msg_pending() 842 struct mpsc_pbuf_buffer *mpsc_pbuffer = link->mpsc_pbuf ? link->mpsc_pbuf : &log_buffer; in z_log_msg_enqueue() 895 mpsc_pbuf_get_utilization(&log_buffer, buf_size, usage); in log_mem_get_usage() 908 return mpsc_pbuf_get_max_utilization(&log_buffer, max); in log_mem_get_max_usage()
|
/Zephyr-latest/subsys/modem/ |
D | modem_chat.c | 30 static char log_buffer[CONFIG_MODEM_CHAT_LOG_BUFFER_SIZE]; variable 41 if (sizeof(log_buffer) < (log_buffer_pos + argv_len + 1)) { in modem_chat_log_received_command() 47 memcpy(&log_buffer[log_buffer_pos], chat->argv[i], argv_len); in modem_chat_log_received_command() 49 log_buffer[log_buffer_pos] = ' '; in modem_chat_log_received_command() 55 log_buffer[log_buffer_pos] = '\0'; in modem_chat_log_received_command() 57 LOG_DBG("%s", log_buffer); in modem_chat_log_received_command()
|