intel/tools: Add basic aub_context code and helpers.
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 13 Sep 2019 22:13:31 +0000 (15:13 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 10 Oct 2019 14:08:50 +0000 (14:08 +0000)
commit12feafc28eec8dfa5ae7e9a0b90ef0b2b9ea8f00
treeaa3b36dcdbd1a7474ead13605b19430ccb80d5c5
parent472de611870448fcfb99606c340bfdc6d5616301
intel/tools: Add basic aub_context code and helpers.

v2:
 - Only dump context if there were no erros (Lionel).
 - Store counter for context handles in aub_file (Lionel).
v3:
 - Add a comment about aub_context -> GEM context (Lionel).

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/aub_write.c
src/intel/tools/aub_write.h
src/intel/tools/intel_dump_gpu.c