![](https://secure.gravatar.com/avatar/24e6a8158be3c9b52253d878d1487123.jpg?s=120&d=mm&r=g)
Condense the buffer status data into fewer trace lines.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/include/reef/audio/buffer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/include/reef/audio/buffer.h b/src/include/reef/audio/buffer.h index 0a4edd1..55e9de1 100644 --- a/src/include/reef/audio/buffer.h +++ b/src/include/reef/audio/buffer.h @@ -99,8 +99,8 @@ static inline void comp_update_buffer_produce(struct comp_buffer *buffer, buffer->free = buffer->size - buffer->avail;
tracev_buffer("pro"); - tracev_value(buffer->avail); - tracev_value(buffer->free); + tracev_value((buffer->avail << 12) | buffer->free); + tracev_value((buffer->ipc_buffer.comp.id << 16) | buffer->size); }
/* called by a component after consuming data from this buffer */ @@ -125,8 +125,8 @@ static inline void comp_update_buffer_consume(struct comp_buffer *buffer, buffer->free = buffer->size - buffer->avail;
tracev_buffer("con"); - tracev_value(buffer->avail); - tracev_value(buffer->free); + tracev_value((buffer->avail << 12) | buffer->free); + tracev_value((buffer->ipc_buffer.comp.id << 16) | buffer->size); }
/* get the max number of bytes that can be copied between sink and source */