Merge "profiler: Centralise output responsibility from ProfilerOutputText to Profiler"