logger: add channel selector component name

Logger will display a proper component name for traces
from channel selector component.

Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>
This commit is contained in:
Lech Betlej 2019-03-08 10:27:30 +01:00 committed by Marcin Maka
parent 92d53023ea
commit 31d871d5af
2 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@ struct system_time {
#define TRACE_CLASS_IDC (24 << 24)
#define TRACE_CLASS_CPU (25 << 24)
#define TRACE_CLASS_SCHEDULE (27 << 24)
#define TRACE_CLASS_SELECTOR (29 << 24)
#define LOG_ENABLE 1 /* Enable logging */
#define LOG_DISABLE 0 /* Disable logging */

View File

@ -97,6 +97,7 @@ static const char * get_component_name(uint32_t component_id) {
CASE(DMIC);
CASE(POWER);
CASE(SCHEDULE);
CASE(SELECTOR);
default: return "unknown";
}
}