Skip to content

perfetto: do nothing if tracing is not active

Mike Blumenkrantz requested to merge zmike/mesa:perf-noop into main

this avoids spawning the perfetto thread if perfetto isn't actually being used (but is enabled at build time)

there are some strange interactions with perfetto where it can unexpectedly deadlock a process (e.g., Xwayland) in certain scenarios, and since those scenarios aren't typically ones where perfetto is active anyway, this sidesteps the issue

Merge request reports