mesa/src/util/perf
Emma Anholt 4dc6390445 u_trace: Add an interface for checking trace enablement outside a context.
For zink, we want to know if we should pass command stream markers down to
the underlying driver, but we don't have our own trace context we're
recording trace events with.  We definitely want those markers if the
underlying driver is going to be doing perfetto tracing, or is requesting
marker tracing.  So, create an interface for querying those flags before
they get copied down to an actual u_trace_context.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20657>
2023-02-09 03:27:34 +00:00
..
cpu_trace.h util/perf: support and prefer perfetto for cpu trace 2022-08-26 21:47:44 +00:00
u_perfetto.cc util/perfetto: add a simple C wrapper for track events 2022-08-26 21:47:44 +00:00
u_perfetto.h util/perfetto: add a simple C wrapper for track events 2022-08-26 21:47:44 +00:00
u_trace.c u_trace: Add an interface for checking trace enablement outside a context. 2023-02-09 03:27:34 +00:00
u_trace.h u_trace: Add an interface for checking trace enablement outside a context. 2023-02-09 03:27:34 +00:00
u_trace.py util/u_trace: pass utrace context to marker functions. 2023-01-18 10:53:36 +00:00
u_trace_priv.h util/u_trace: add support for variable length trace points 2023-01-13 01:22:15 +00:00