diff --git a/config/ext.json b/config/ext.json index b36d4204..e549724f 100644 --- a/config/ext.json +++ b/config/ext.json @@ -479,6 +479,13 @@ "libuv" ] }, + "xhprof": { + "type": "external", + "source": "xhprof", + "ext-depends": [ + "ctype" + ] + }, "xlswriter": { "type": "external", "source": "xlswriter", diff --git a/config/source.json b/config/source.json index 56435a0a..b6cb0441 100644 --- a/config/source.json +++ b/config/source.json @@ -532,6 +532,16 @@ "path": "COPYING" } }, + "xhprof": { + "type": "url", + "url": "https://pecl.php.net/get/xhprof", + "path": "php-src/ext/xhprof-src", + "filename": "xhprof.tgz", + "license": { + "type": "file", + "path": "LICENSE" + } + }, "xlswriter": { "type": "url", "url": "https://pecl.php.net/get/xlswriter", diff --git a/src/SPC/builder/extension/xhprof.php b/src/SPC/builder/extension/xhprof.php new file mode 100644 index 00000000..c3d98aac --- /dev/null +++ b/src/SPC/builder/extension/xhprof.php @@ -0,0 +1,33 @@ +