From 7dd2d7fca08c549083dd04caa7986ac7b3720092 Mon Sep 17 00:00:00 2001 From: Jyri Sarha Date: Fri, 6 Sep 2024 09:15:19 +0300 Subject: [PATCH] debug: debug_stream: Couple of debug print and comment typo fixes Signed-off-by: Jyri Sarha --- src/debug/debug_stream/debug_stream_slot.c | 2 +- src/debug/debug_stream/debug_stream_thread_info.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/debug/debug_stream/debug_stream_slot.c b/src/debug/debug_stream/debug_stream_slot.c index 164f74a974bb..3e95eae0edb2 100644 --- a/src/debug/debug_stream/debug_stream_slot.c +++ b/src/debug/debug_stream/debug_stream_slot.c @@ -141,7 +141,7 @@ static int debug_stream_slot_init(void) buf->next_seqno = 0; buf->w_ptr = 0; k_mutex_init(&cpu_mutex[i].m); - /* The core specific mutexes are now .dss which is uncached so the + /* The core specific mutexes are now .bss which is uncached so the * following line is commented out. However, since the mutexes are * core specific there should be nothing preventing from having them * in cached memory. diff --git a/src/debug/debug_stream/debug_stream_thread_info.c b/src/debug/debug_stream/debug_stream_thread_info.c index e83296828c65..200e2c5e0dc4 100644 --- a/src/debug/debug_stream/debug_stream_thread_info.c +++ b/src/debug/debug_stream/debug_stream_thread_info.c @@ -76,7 +76,7 @@ static uint32_t thread_info_get_cycles(void *tid, k_thread_runtime_stats_t *thre int i; if (ud->thread_count >= ARRAY_SIZE(ud->active_threads)) { - LOG_WRN("Thread could exceeds tha max threads %u >= %u", + LOG_WRN("Thread count exceeds the max threads %u >= %u", ud->thread_count, ARRAY_SIZE(ud->active_threads)); return 0; }