
When !3952 introduced the new tracing macros, they were only defined in the HAVE_PROFILER case, causing builds without profiler support to fail. Also it introduced an unconditional call to cogl_is_tracing_enabled() which is not available without HAVE_PROFILER. Fixes:777c63507
("cogl/trace: Allow defining and setting sysprof trace counters") Fixes:322ac42a6
("stage-impl: Trace the damage region") Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3991>