util/perf: Add gpuvis integration & some more CPU tracing.

Merged Bas Nieuwenhuizen requested to merge bnieuwenhuizen/mesa:gpuvis-integration into main

Adds gpuvis integration for CPU side traces and also trace vkWaitForFences in the runtime, to more completely see where games are blocking on the GPU. I'd like to default enable this on the Deck rather than having to rebase something every time we're wondering why a game is idling.

For the context usage https://github.com/mikesart/gpuvis/pull/82 is needed to display it correctly in gpuvis.

Merge request reports