Add perfetto instrumentation to wayland wsi
While working on support for the draft fifo and commit_timing protocols, I've used perfetto to validate and debug frame timing. This is a subset of that work that can be useful without the new protocols.
Using the This series enables tracing of wayland wsi frame timing under perfetto, with flows added from acquisition to presentation, and counters added for presentation latency (from submission to presentation):
MESA_VK_WSI_DEBUG=wltiming
env var
Counters and flows are added as new features to our perfetto wrappers, as well as the ability to explicitly add tracks and create track events with timestamps.