Skip to content
  • Sebastian Keller's avatar
    2eddf356
    cogl/trace: Fix build without profiler · 2eddf356
    Sebastian Keller authored
    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: 777c6350 ("cogl/trace: Allow defining and setting sysprof trace counters")
    Fixes: 322ac42a ("stage-impl: Trace the damage region")
    Part-of: <GNOME/mutter!3991>
    2eddf356
    cogl/trace: Fix build without profiler
    Sebastian Keller authored
    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: 777c6350 ("cogl/trace: Allow defining and setting sysprof trace counters")
    Fixes: 322ac42a ("stage-impl: Trace the damage region")
    Part-of: <GNOME/mutter!3991>
Loading