Merge "Support dynamically enable profiling."