components/php-5_3/php-sapi/patches/021_php_Zend_zend_dtrace.d.patch
changeset 4987 6a82655eda42
parent 4986 90a869b3f47a
child 4988 4b69c7c7e09b
equal deleted inserted replaced
4986:90a869b3f47a 4987:6a82655eda42
     1 --- php-5.3.10_orig/Zend/zend_dtrace.d	Wed Nov 23 11:09:59 2011
       
     2 +++ php-5.3.10/Zend/zend_dtrace.d	Wed Nov 23 11:25:19 2011
       
     3 @@ -0,0 +1,39 @@
       
     4 +/*
       
     5 +   +----------------------------------------------------------------------+
       
     6 +   | Zend Engine                                                          |
       
     7 +   +----------------------------------------------------------------------+
       
     8 +   | Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
       
     9 +   +----------------------------------------------------------------------+
       
    10 +   | This source file is subject to version 2.00 of the Zend license,     |
       
    11 +   | that is bundled with this package in the file LICENSE, and is        |
       
    12 +   | available through the world-wide-web at the following url:           |
       
    13 +   | http://www.zend.com/license/2_00.txt.                                |
       
    14 +   | If you did not receive a copy of the Zend license and are unable to  |
       
    15 +   | obtain it through the world-wide-web, please send a note to          |
       
    16 +   | [email protected] so we can mail you a copy immediately.              |
       
    17 +   +----------------------------------------------------------------------+
       
    18 +   | Authors: David Soria Parra <[email protected]>                |
       
    19 +   +----------------------------------------------------------------------+
       
    20 +*/
       
    21 +
       
    22 +/* $Id: $ */
       
    23 +
       
    24 +provider php {
       
    25 +       probe exception__caught(char *classname);
       
    26 +       probe exception__thrown(char* classname);
       
    27 +       probe request__startup(char* request_file, char* request_uri, char* request_method);
       
    28 +       probe request__shutdown(char* request_file, char* request_uri, char* request_method);
       
    29 +       probe compile__file__entry(char * compile_file, char *compile_file_translated);
       
    30 +       probe compile__file__return(char *compile_file, char *compile_file_translated);
       
    31 +       probe error(char *errormsg, char *request_file, int lineno);
       
    32 +       probe execute__entry(char* request_file, int lineno);
       
    33 +       probe execute__return(char* request_file, int lineno);
       
    34 +       probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* scope);
       
    35 +       probe function__return(char* function_name, char* request_file, int lineno, char* classname, char* scope);
       
    36 +       probe object__create(char *classname, char* request_file, int lineno);
       
    37 +       probe object__destroy(char *classname, char* request_file, int lineno);
       
    38 +};
       
    39 +
       
    40 +/*#pragma D attributes Private/Private/Unknown provider php module
       
    41 +#pragma D attributes Private/Private/Unknown provider php function
       
    42 +#pragma D attributes Evolving/Evolving/Common provider php provider */