Skip to content

Commit 9e8ce6a

Browse files
committed
debug-slot: (cosmetic) reduce verbosity
Reduce logging verbosity and improve line formatting. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 98ba381 commit 9e8ce6a

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/debug/debug_stream/debug_stream_slot.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,22 +147,20 @@ static int debug_stream_slot_init(void)
147147
for (i = 0; i < CONFIG_MP_MAX_NUM_CPUS; i++) {
148148
hdr->section_desc[i].core_id = i;
149149
hdr->section_desc[i].buf_words =
150-
(section_size - offsetof(struct debug_stream_circular_buf, data[0]))/
150+
(section_size - offsetof(struct debug_stream_circular_buf, data[0])) /
151151
sizeof(uint32_t);
152152
hdr->section_desc[i].offset = offset;
153-
LOG_INF("sections %u, size %u, offset %u",
154-
i, section_size, offset);
153+
LOG_DBG("sections %u, size %u, offset %u", i, section_size, offset);
155154
offset += section_size;
156155
}
157156
for (i = 0; i < CONFIG_MP_MAX_NUM_CPUS; i++) {
158157
struct debug_stream_section_descriptor desc = { 0 };
159-
struct debug_stream_circular_buf *buf =
160-
debug_stream_get_circular_buffer(&desc, i);
158+
struct debug_stream_circular_buf *buf = debug_stream_get_circular_buffer(&desc, i);
161159

162160
buf->next_seqno = 0;
163161
buf->w_ptr = 0;
164162
}
165-
LOG_INF("Debug stream slot initialized");
163+
LOG_DBG("Debug stream slot initialized");
166164

167165
return 0;
168166
}

src/debug/debug_stream/debug_stream_text_msg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static void ds_exception_dump(const char *format, va_list args)
131131
static int init_exception_dump_hook(void)
132132
{
133133
arch_exception_set_dump_hook(ds_exception_dump, ds_exception_drain);
134-
LOG_INF("exception_dump_hook set");
134+
LOG_DBG("exception_dump_hook set");
135135
return 0;
136136
}
137137

0 commit comments

Comments
 (0)