Lines Matching +full:kconfig +full:- +full:ext
8 * SPDX-License-Identifier: Apache-2.0
19 #include <zephyr/sys/printk-hooks.h>
20 #include <zephyr/sys/libc-hooks.h>
33 * except that we're not exporting it as a Kconfig variable until a
124 if (rtt_buf_offset < sizeof(hdr->data_len) + hdr->data_len) { in monitor_send()
140 drop_add(hdr->opcode); in monitor_send()
172 while (len--) { in monitor_send()
185 hdr->ext[hdr->hdr_len++] = type; in encode_drops()
186 hdr->ext[hdr->hdr_len++] = MIN(count, 255); in encode_drops()
208 hdr->opcode = sys_cpu_to_le16(opcode); in encode_hdr()
209 hdr->flags = 0U; in encode_hdr()
211 ts = (void *)hdr->ext; in encode_hdr()
212 ts->type = BT_MONITOR_TS32; in encode_hdr()
213 ts->ts32 = timestamp; in encode_hdr()
214 hdr->hdr_len = sizeof(*ts); in encode_hdr()
226 hdr->data_len = sys_cpu_to_le16(4 + hdr->hdr_len + len); in encode_hdr()
254 strncpy(pkt.name, name, sizeof(pkt.name) - 1); in bt_monitor_new_index()
255 pkt.name[sizeof(pkt.name) - 1] = '\0'; in bt_monitor_new_index()
270 if (c != '\n' && len < sizeof(buf) - 1) { in monitor_console_out()
298 for (i = 0; i < length && ctx->total_len < sizeof(ctx->msg); i++) { in monitor_log_out()
307 ctx->msg[ctx->total_len++] = data[i]; in monitor_log_out()
345 log_output_msg_process(&monitor_log_output, &msg->log, in monitor_log_process()
353 encode_hdr(&hdr, (uint32_t)log_msg_get_timestamp(&msg->log), in monitor_log_process()
357 user_log.priority = monitor_priority_get(log_msg_get_level(&msg->log)); in monitor_log_process()