intel/perf: split load_oa_metrics
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Thu, 9 Jul 2020 17:49:55 +0000 (19:49 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 10 Aug 2020 13:41:29 +0000 (13:41 +0000)
commit59716e40b0f198e19b8baae2d9952f8e8e76428c
tree2aa7ef8c3678cc739be363ed1365bd442f0c5dc3
parent2fbab5a1b3998854203c43560a47beac4e1897b7
intel/perf: split load_oa_metrics

Move oa_metrics_available out of load_oa_metrics and call
build_unique_counter_list outside.

This change is a preparation for the next patch. It should
not have any functional impact.

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5788>
src/intel/perf/gen_perf.c