intel/perf: allocate cleared counter infos
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 21 Jul 2022 07:46:50 +0000 (07:46 +0000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 17 Nov 2022 12:57:06 +0000 (12:57 +0000)
commite754bf6be49788e5f6604a15cd36a3324fd94a39
treeb8c5a10a8452c38e920dac8441038167c842c02a
parentbdacd6df5adc2330409e15264e3be0033c483695
intel/perf: allocate cleared counter infos

This array of structure needs to be initialized to 0 as it contains a
bitset we don't explicitly clear.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 3144bc1d3369 ("intel/perf: move query_mask and location out of gen_perf_query_counter")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18893>
src/intel/perf/intel_perf.c