Merge "Set up the profiler in CLI mode."