Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbd42421 authored by Tarun Gupta's avatar Tarun Gupta Committed by Gerrit - the friendly Code Review server
Browse files

USB: Debug: make logging in debug buffer more coherent



Current event logging supports only adding debug messages to buffer,
sometimes error messages also contains useful information. Adding
error messages along with debug message in buffer will give more
clear understanding.

This change adds support for adding error logs by introducing new
macro log_event_dbg() and log_event_err(). With these logs will be
available in kernel logs and log event buffer both. Also added
another macro log_event_none() with this logs will only be added to
log_event_buffer.

Change-Id: Ia863d1657a30da382751d7e97d22c8dc90cd4f08
Signed-off-by: default avatarTarun Gupta <tarung@codeaurora.org>
parent c67f84f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment