mirror of
https://github.com/brl/mutter.git
synced 2025-02-22 16:04:09 +00:00

A trace "anchor" is a trace head (CoglTraceHead) that is placed in a certain scope (e.g. function scope), but then only triggered in another scope, e.g. a condition. This makes it possible to have optional trace instrumentation, that is enabled only given e.g. a debug flag. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1700>