Xhprof: support tideways-xhprof extension
authorEdward Chernenko <edwardspec@gmail.com>
Sun, 17 Jun 2018 15:09:49 +0000 (18:09 +0300)
committerKrinkle <krinklemail@gmail.com>
Tue, 19 Jun 2018 14:43:40 +0000 (14:43 +0000)
commit9d4a7e4d7599afea40c373e97724e0179b724a60
treec3ad0c1715b2c3dc51730492837af83412be1114
parent284bc0b5eb1c0e47d7100d5604ab4d5180dcd8d5
Xhprof: support tideways-xhprof extension

The "tideways" extension was renamed by their developers, see
https://tideways.com/profiler/blog/releasing-new-tideways-xhprof-extension

While doing so, they also renamed enable/disable functions:
tideways_enable -> tideways_xhprof_enable
tideways_disable -> tideways_xhprof_disable

Change-Id: I63bc97dba461dd46241a094dfc59439c0d28a219
includes/libs/Xhprof.php
includes/profiler/ProfilerXhprof.php
tests/phpunit/includes/libs/XhprofTest.php