ProfilerExcimer: allow early start
authorTim Starling <tstarling@wikimedia.org>
Fri, 7 Dec 2018 04:13:43 +0000 (15:13 +1100)
committerTim Starling <tstarling@wikimedia.org>
Mon, 17 Dec 2018 03:36:28 +0000 (14:36 +1100)
commit0f1156a3fb180249040b3faf8b4952532eadc697
tree896badbaf21e8e0059fbed2a2908d491836f16b4
parentf186496005a47a09aed6d46feea7302fe9d5f0e2
ProfilerExcimer: allow early start

Allow the profiler to be started elsewhere and passed into
ProfilerExcimer via the configuration array. This allows the profiler to
be started in the auto_prepend_file. XHProf doesn't need this because it
has a single global profiler.

Change-Id: I348499a15d9cc42de0ba1a20afc2283b794931a3
includes/profiler/ProfilerExcimer.php