intel/aubinator: Pull useful information from the AUB header
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 24 Nov 2016 04:24:00 +0000 (20:24 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Nov 2016 00:45:09 +0000 (16:45 -0800)
commit6bc8bef1a176f65cc35d7c573c0a99427eb5a3fd
tree8856e1c5b3ad50d8467b5a73d7ac2404c5c589dd
parentda5ebeffdfc0e68fc3c5614116e8cb6935d0f38a
intel/aubinator: Pull useful information from the AUB header

This commit does two things.  One is to pull useful and/or interesting
information from the AUB file header and display it as a header above your
decoded batches.  Second, it is now capable of pulling the PCI ID from the
AUB file comment left by intel_aubdump.  This removes the need to use the
--gen flag all the time.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/tools/aubinator.c