intel/aubinator: fix ring buffer pointer
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 9 Nov 2018 16:49:11 +0000 (16:49 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 16 Nov 2018 11:39:54 +0000 (11:39 +0000)
commit59c1059528bcbc339743104b486fc4aadd959017
tree31b9e6a33a982ec299b7c793797263f2c4b09e8a
parent25443cbb72048900f3ff06fdb7a68aef6eea39ff
intel/aubinator: fix ring buffer pointer

We can only start parsing commands from the head pointer. This was
working fine up to now because we only dealt with a "made up" ring
buffer (generated by aub_write) which always had its head at 0.

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