intel/decoders: read ring buffer length
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 9 Nov 2018 16:49:10 +0000 (16:49 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 16 Nov 2018 11:37:08 +0000 (11:37 +0000)
commit25443cbb72048900f3ff06fdb7a68aef6eea39ff
tree605c3894d125626e16ea805aa691c02c58c04a5e
parent1c56d211563300e8b837378962dd455d45d7956e
intel/decoders: read ring buffer length

Use this value to limit reading the ring buffer.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Toni Lönnberg <toni.lonnberg@intel.com>
src/intel/tools/aubinator.c
src/intel/tools/aubinator_viewer.cpp