Skip to content

Commit

Permalink
dma-trace.c: lower log level of dropped logs
Browse files Browse the repository at this point in the history
Dropping logs is bad but it should not be fatal in itself.

This ERROR is one of the last remaining one, see
thesofproject/sof-test#1075 (comment)

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb committed Apr 11, 2024
1 parent 60ef38e commit ce63729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trace/dma-trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,8 @@ static void dtrace_add_event(const char *e, uint32_t length)
* so after it we have to recalculate margin and
* overflow
*/
tr_err(&dt_tr, "dtrace_add_event(): number of dropped logs = %u",
tmp_dropped_entries);
tr_warn(&dt_tr, "dtrace_add_event(): number of dropped logs = %u",
tmp_dropped_entries);
margin = dtrace_calc_buf_margin(buffer);
overflow = dtrace_calc_buf_overflow(buffer, length);
}
Expand Down

0 comments on commit ce63729

Please sign in to comment.