It looks like this define  PROFILER_CPU_SUPPORT was not set and that caused the error