xref: /PHP-7.2/ext/oci8/oci8_dtrace.d (revision d1e81a59)
1 /*
2    +----------------------------------------------------------------------+
3    | Zend Engine                                                          |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 2013 Zend Technologies Ltd. (http://www.zend.com)      |
6    +----------------------------------------------------------------------+
7    | This source file is subject to version 3.01 of the PHP 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.php.net/license/3_01.txt.                                 |
11    | If you did not receive a copy of the PHP 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    | Author: Christopher Jones <christopher.jones@oracle.com>             |
16    +----------------------------------------------------------------------+
17 */
18 
19 provider phpoci {
20 	probe oci8__check__connection(void *connection, char *client_id, int is_open, long errcode, unsigned long server_status);
21 	probe oci8__connect__entry(char *username, char *dbname, char *charset, long session_mode, int persistent, int exclusive);
22 	probe oci8__connect__return(void *connection);
23 	probe oci8__connection__close(void *connection);
24 	probe oci8__error(int status, long errcode);
25 	probe oci8__execute__mode(void *connection, char *client_id, void *statement, unsigned int mode);
26 	probe oci8__sqltext(void *connection, char *client_id, void *statement, char *sql);
27 
28 	probe oci8__connect__p__dtor__close(void *connection);
29 	probe oci8__connect__p__dtor__release(void *connection);
30 	probe oci8__connect__lookup(void *connection, int is_stub);
31 	probe oci8__connect__expiry(void *connection, int is_stub, long idle_expiry, long timestamp);
32 	probe oci8__connect__type(int persistent, int exclusive, void *connection, long num_persistent, long num_connections);
33 	probe oci8__sesspool__create(void *session_pool);
34 	probe oci8__sesspool__stats(unsigned long free, unsigned long busy, unsigned long open);
35 	probe oci8__sesspool__type(int type, void *session_pool);
36 };
37