[Sound-open-firmware] [PATCH] Use trace verbose intead of trace.
From: Yan Wang yan.wang@linux.intel.com
Too many trace will cause local trace buffer overflow.
Signed-off-by: Yan Wang yan.wang@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,
On Mon, 2018-03-12 at 20:41 +0800, yan.wang@linux.intel.com wrote:
From: Yan Wang yan.wang@linux.intel.com
Too many trace will cause local trace buffer overflow.
Signed-off-by: Yan Wang yan.wang@linux.intel.com
Applied.
Thanks
Liam
participants (2)
-
Liam Girdwood
-
yan.wang@linux.intel.com