daemon: Show profiling warning only if profiling is enabled