[cookbook] Give more info when the profiler is disabled.