diff --git a/extension/php_xhprof.h b/extension/php_xhprof.h index d5aa0fe7..c5bfae15 100755 --- a/extension/php_xhprof.h +++ b/extension/php_xhprof.h @@ -39,7 +39,7 @@ extern zend_module_entry xhprof_module_entry; */ /* XHProf version */ -#define XHPROF_VERSION "2.1.2-dev" +#define XHPROF_VERSION "2.1.2" /* Fictitious function name to represent top of the call tree. The paranthesis * in the name is to ensure we don't conflict with user function names. */ diff --git a/extension/xhprof.c b/extension/xhprof.c index e0db7686..c11a9139 100755 --- a/extension/xhprof.c +++ b/extension/xhprof.c @@ -1602,19 +1602,19 @@ char* hp_trace_callback_curl_exec(char *symbol, zend_execute_data *data) ZVAL_STRING(&func, "curl_getinfo"); zend_fcall_info fci = { - size: sizeof(zend_fcall_info), + sizeof(fci), #if PHP_VERSION_ID < 70100 - function_table: EG(function_table), + EG(function_table), #endif - function_name: func, + func, #if PHP_VERSION_ID < 70100 - symbol_table: NULL, + NULL, #endif - retval: &retval, - params: ¶ms, - object: NULL, - no_separation: 1, - param_count: 1 + &retval, + params, + NULL, + 1, + 1 }; if (zend_call_function(&fci, NULL) == FAILURE) { diff --git a/package.xml b/package.xml index 59e92a75..548c094e 100644 --- a/package.xml +++ b/package.xml @@ -1,32 +1,33 @@ - - + + xhprof pecl.php.net XHProf: A Hierarchical Profiler for PHP - -XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based navigational interface. The raw data collection component is implemented in C (as a PHP extension). The reporting/UI layer is all in PHP. It is capable of reporting function-level inclusive and exclusive wall times, memory usage, CPU times and number of calls for each function. Additionally, it supports ability to compare two runs (hierarchical DIFF reports), or aggregate results from multiple runs. - + XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based navigational interface. The raw data collection component is implemented in C (as a PHP extension). The reporting/UI layer is all in PHP. It is capable of reporting function-level inclusive and exclusive wall times, memory usage, CPU times and number of calls for each function. Additionally, it supports ability to compare two runs (hierarchical DIFF reports), or aggregate results from multiple runs. + + Scott MacVicar + scottmac + scottmac@php.net + yes + Kannan Muthukkaruppan kannan kannan@php.net no - - Venkat Venkataramani - veeve - veeve@php.net - no - Changhao Jiang cjiang cjiang@php.net no + + Venkat Venkataramani + veeve + veeve@php.net + no + Haiping Zhao haiping @@ -34,27 +35,16 @@ XHProf is a function-level hierarchical profiler for PHP and has a simple HTML b no - Carlos Bueno - aristus - cmb@fb.com - no - - - Bill Fumerola - billf - bill@fb.com - yes - - - Scott MacVicar - macvicar - scott@fb.com + Xinhui Long + longxinhui + longxinhui@php.net yes - 2009-03-28 + 2019-12-06 + - 0.9.2 - 0.9.2 + 2.1.2 + 2.1.2 beta @@ -62,123 +52,205 @@ XHProf is a function-level hierarchical profiler for PHP and has a simple HTML b Apache 2.0 --- Request #16544: Mac port for XHProf (svilen spasov) --- fix #16574: require/require_once not special cased like include/include_once (kannan) --- add a sanity test for sampling mode in xhprof (kannan) --- add support to ignore functions (such as call_user_func) during profiling (mike paleczny) --- fix #16098: suppress notices due to use of FILE_BINARY (kannan) --- add a sanity test for timer (kannan) --- fix for compile error on debian linux (russ) +-- Fixed build with PHP-7.4 #32 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - 5.2.0 - - - 1.4.0 - - + + + 7.0.0 + + + 1.4.0 + + xhprof - + - - - 0.9.1 - 0.9.1 - - 2009-03-21 - - beta - beta - - + + 2019-12-06 + + 2.1.2 + 2.1.2 + + + stable + stable + + + -- Fixed build with PHP-7.4 #32 + + + + 2019-12-03 + + 2.1.1 + 2.1.1 + + + stable + stable + + + -- Fix macOS time benchmark #31 + + + + 2019-03-07 + + 2.1.0 + 2.1.0 + + + stable + stable + + + -- Add additional information collection switch #25 + + + + 2018-05-16 + + 2.0.0 + 2.0.0 + + + stable + stable + + + + + + + 2017-08-15 + + 1.2.0 + 1.2.0 + + + stable + stable + + + -- Fixed build with PHP-7.2 + + + + 2017-08-15 + + 1.1.0 + 1.1.0 + + + stable + stable + + + -- Fix mysqli_query analysis + + + + 2017-06-15 + + 1.0.0 + 1.0.0 + + + stable + stable + + + -- PHP7 support + + + + + 0.9.3 + 0.9.3 + + 2013-05-20 + + beta + beta + + +-- Just updating the pecl package to https://github.com/facebook/xhprof/commit/254eb24dcfa763c76c57b472093ebc4b81af2b7d + + + + + 0.9.1 + 0.9.1 + + 2009-03-21 + + beta + beta + + -- doc improvements/fixes - - - - - 0.9.0 - 0.9.0 - - 2009-03-17 - - beta - beta - - - -- initial release of xhprof - + + + + + 0.9.0 + 0.9.0 + + 2009-03-17 + + beta + beta + + +-- initial release of xhprof + - -