xref: /PHP-7.4/Zend/zend_dtrace.d (revision a4536194)
1 /*
2    +----------------------------------------------------------------------+
3    | Zend Engine                                                          |
4    +----------------------------------------------------------------------+
5    | Copyright (c) Zend Technologies Ltd. (http://www.zend.com)           |
6    +----------------------------------------------------------------------+
7    | This source file is subject to version 2.00 of the Zend license,     |
8    | that is bundled with this package in the file LICENSE, and is        |
9    | available through the world-wide-web at the following url:           |
10    | http://www.zend.com/license/2_00.txt.                                |
11    | If you did not receive a copy of the Zend license and are unable to  |
12    | obtain it through the world-wide-web, please send a note to          |
13    | license@zend.com so we can mail you a copy immediately.              |
14    +----------------------------------------------------------------------+
15    | Authors: David Soria Parra <david.soriaparra@sun.com>                |
16    +----------------------------------------------------------------------+
17 */
18 
19 provider php {
20 	probe exception__caught(char *classname);
21 	probe exception__thrown(char* classname);
22 	probe request__startup(char* request_file, char* request_uri, char* request_method);
23 	probe request__shutdown(char* request_file, char* request_uri, char* request_method);
24 	probe compile__file__entry(char * compile_file, char *compile_file_translated);
25 	probe compile__file__return(char *compile_file, char *compile_file_translated);
26 	probe error(char *errormsg, char *request_file, int lineno);
27 	probe execute__entry(char* request_file, int lineno);
28 	probe execute__return(char* request_file, int lineno);
29 	probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* scope);
30 	probe function__return(char* function_name, char* request_file, int lineno, char* classname, char* scope);
31 };
32 
33 /*#pragma D attributes Private/Private/Unknown provider php module
34 #pragma D attributes Private/Private/Unknown provider php function
35 #pragma D attributes Evolving/Evolving/Common provider php provider */
36