intel/tools: Refactor aub dumping to remove singletons
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 17 Jul 2018 05:38:08 +0000 (22:38 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 18 Jul 2018 15:42:46 +0000 (08:42 -0700)
commit0a457d987eec1dc66107430ccbc503301fa1a434
treefe58f9751e55f97621a8b60bb89c9bbcb40e162f
parent6953d7f5d253028e41af1d0e4a60d0407e91a831
intel/tools: Refactor aub dumping to remove singletons

Instead of having quite so many singletons, we use a struct aub_file to
organize the bits we need for writing an aub file.

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