39824d70b8
There is one u_trace per subqueue to record trace events. When tracing is enabled, trace_begin_cmdbuf and trace_end_cmdbuf will emit trace events to u_trace and emit timestamp writes to the command streams. The trace events are buffered in u_trace and are not flushed for processing yet. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32360>