From 38c84de7479f242c9a7b5c779ce8a5ac1910ddc6 Mon Sep 17 00:00:00 2001 From: Janusz Jankowski Date: Fri, 10 Jan 2020 01:04:03 +0100 Subject: [PATCH] trace: add mn class Add trace class for M/N divider. Signed-off-by: Janusz Jankowski --- src/include/user/trace.h | 1 + tools/logger/convert.c | 1 + tools/testbench/trace.c | 1 + 3 files changed, 3 insertions(+) diff --git a/src/include/user/trace.h b/src/include/user/trace.h index 3936d8772..6451877d6 100644 --- a/src/include/user/trace.h +++ b/src/include/user/trace.h @@ -63,6 +63,7 @@ struct system_time { #define TRACE_CLASS_CHMAP (34 << 24) #define TRACE_CLASS_ASRC (35 << 24) #define TRACE_CLASS_NOTIFIER (36 << 24) +#define TRACE_CLASS_MN (37 << 24) #define LOG_ENABLE 1 /* Enable logging */ #define LOG_DISABLE 0 /* Disable logging */ diff --git a/tools/logger/convert.c b/tools/logger/convert.c index b33d472f2..5e1d2729e 100644 --- a/tools/logger/convert.c +++ b/tools/logger/convert.c @@ -103,6 +103,7 @@ static const char * get_component_name(uint32_t component_id) { CASE(CHMAP); CASE(ASRC); CASE(NOTIFIER); + CASE(MN); default: return "unknown"; } } diff --git a/tools/testbench/trace.c b/tools/testbench/trace.c index dbe98bf16..51e0c32f8 100644 --- a/tools/testbench/trace.c +++ b/tools/testbench/trace.c @@ -57,6 +57,7 @@ char *get_trace_class(uint32_t trace_class) CASE(CHMAP); CASE(ASRC); CASE(NOTIFIER); + CASE(MN); default: return "unknown"; } }