intel/perf: use a function to do common allocations
This cuts the compile time down for this file on my ryzen from real 1m4.077s to real 0m30.827s Reviewed-by:Emma Anholt <emma@anholt.net> Reviewed-by:
Matt Turner <mattst88@gmail.com> Part-of: <mesa/mesa!14630>
Loading
Please register or sign in to comment