Skip to content

Commit

Permalink
debug: debug_stream: Couple of debug print and comment typo fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
  • Loading branch information
Jyri Sarha authored and kv2019i committed Sep 11, 2024
1 parent 8884a5d commit 7dd2d7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/debug/debug_stream/debug_stream_slot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/debug/debug_stream/debug_stream_thread_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7dd2d7f

Please sign in to comment.