[Sound-open-firmware] [PATCH] Use trace verbose intead of trace.

yan.wang at linux.intel.com yan.wang at linux.intel.com
Mon Mar 12 13:41:43 CET 2018


From: Yan Wang <yan.wang at linux.intel.com>

Too many trace will cause local trace buffer overflow.

Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
---
 src/audio/host.c | 2 +-
 src/audio/tone.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/audio/host.c b/src/audio/host.c
index 7a7c153..287c886 100644
--- a/src/audio/host.c
+++ b/src/audio/host.c
@@ -845,7 +845,7 @@ static int host_copy(struct comp_dev *dev)
 	struct host_data *hd = comp_get_drvdata(dev);
 	struct dma_sg_elem *local_elem;
 
-	trace_host("cpy");
+	tracev_host("cpy");
 
 	if (dev->state != COMP_STATE_ACTIVE)
 		return 0;
diff --git a/src/audio/tone.c b/src/audio/tone.c
index 5308af0..e4e9892 100644
--- a/src/audio/tone.c
+++ b/src/audio/tone.c
@@ -598,7 +598,7 @@ static int tone_copy(struct comp_dev * dev)
 	struct comp_buffer *sink;
 	struct comp_data *cd = comp_get_drvdata(dev);
 
-	trace_comp("cpy");
+	tracev_comp("cpy");
 
 	/* tone component sink buffer */
 	sink = list_first_item(&dev->bsink_list, struct comp_buffer,
-- 
2.14.3



More information about the Sound-open-firmware mailing list