diff --git a/src/trace/dma-trace.c b/src/trace/dma-trace.c index e3a9fbe07..ec6e5cfd7 100644 --- a/src/trace/dma-trace.c +++ b/src/trace/dma-trace.c @@ -24,6 +24,9 @@ #include #include #include +#include +#include +#include #include #include @@ -335,6 +338,11 @@ int dma_trace_enable(struct dma_trace_data *d) d->enabled = 1; schedule_task(&d->dmat_work, DMA_TRACE_PERIOD, DMA_TRACE_PERIOD); + /* it should be the very first sent log for easily identification */ + tr_info(&dt_tr, "FW ABI 0x%x DBG ABI 0x%x tag " SOF_GIT_TAG " src hash 0x%x (ldc hash " META_QUOTE(SOF_SRC_HASH) ")", + SOF_ABI_VERSION, SOF_ABI_DBG_VERSION, SOF_SRC_HASH); + trace_flush(); + out: platform_shared_commit(d, sizeof(*d));