Declare profiler in CLI mode (though it is not used) to support --profiler

Change-Id: I520e146f48f4d41eb773d4042f7aec79f3d2bf87
Merge "Declare profiler in CLI mode (though it is not used) to support --profiler"