intel/perf: print debug information
authorMark Janes <mark.a.janes@intel.com>
Wed, 17 Jul 2019 21:36:44 +0000 (14:36 -0700)
committerMark Janes <mark.a.janes@intel.com>
Thu, 8 Aug 2019 04:33:56 +0000 (21:33 -0700)
commit1f4f421ce07e16d7bbef16c016fbc1d5b2055516
tree5e3e5cfc0f650d1337f3f83f0438d60a18d47a51
parenta663c8c26e6d5f77ae4c9e09625c4a12c9c75b53
intel/perf: print debug information

INTEL_DEBUG=perfmon will iterate over the perf queries, printing
information about the state of each query.  Some of this information
will be private to intel/perf, and needs to a dump routine that can be
called from i965.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/perf/gen_perf.c
src/intel/perf/gen_perf.h
src/mesa/drivers/dri/i965/brw_performance_query.c