aubinator_error_decode: Compare only the class_name of the ring.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 20 Mar 2018 16:13:08 +0000 (09:13 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Wed, 21 Mar 2018 18:35:15 +0000 (11:35 -0700)
commit5297a17571b3452ba6d9ec0b78da1769cace018e
treef089609e8f644420f80a769beeaa5c1b68573285
parent8d5cd91ca0f2a70aa6c883da82f9bcb81f29cb4b
aubinator_error_decode: Compare only the class_name of the ring.

ring_name is "<class_name> + <instance_id>" (e.g. rcs0). So we need to
first compare the class name only, then get the instance id.

Without this, INSTDONE is not being decoded.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/intel/tools/aubinator_error_decode.c