File: oci8_dtrace.d

package info (click to toggle)
php5 5.6.33%2Bdfsg-0%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 157,872 kB
  • sloc: ansic: 756,065; php: 22,030; sh: 12,311; cpp: 8,771; xml: 6,179; yacc: 1,564; exp: 1,514; makefile: 1,467; pascal: 1,147; awk: 538; perl: 315; sql: 22
file content (36 lines) | stat: -rw-r--r-- 2,334 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
   +----------------------------------------------------------------------+
   | Zend Engine                                                          |
   +----------------------------------------------------------------------+
   | Copyright (c) 2013 Zend Technologies Ltd. (http://www.zend.com)      |
   +----------------------------------------------------------------------+
   | This source file is subject to version 3.01 of the PHP license,      |
   | that is bundled with this package in the file LICENSE, and is        |
   | available through the world-wide-web at the following url:           |
   | http://www.php.net/license/3_01.txt.                                 |
   | If you did not receive a copy of the PHP license and are unable to   |
   | obtain it through the world-wide-web, please send a note to          |
   | license@zend.com so we can mail you a copy immediately.              |
   +----------------------------------------------------------------------+
   | Author: Christopher Jones <christopher.jones@oracle.com>             |
   +----------------------------------------------------------------------+
*/

provider phpoci {
	probe oci8__check__connection(void *connection, char *client_id, int is_open, long errcode, unsigned long server_status);
	probe oci8__connect__entry(char *username, char *dbname, char *charset, long session_mode, int persistent, int exclusive);
	probe oci8__connect__return(void *connection);
	probe oci8__connection__close(void *connection);
	probe oci8__error(int status, long errcode);
	probe oci8__execute__mode(void *connection, char *client_id, void *statement, unsigned int mode);
	probe oci8__sqltext(void *connection, char *client_id, void *statement, char *sql);

	probe oci8__connect__p__dtor__close(void *connection);
	probe oci8__connect__p__dtor__release(void *connection);
	probe oci8__connect__lookup(void *connection, int is_stub);
	probe oci8__connect__expiry(void *connection, int is_stub, long idle_expiry, long timestamp);
	probe oci8__connect__type(int persistent, int exclusive, void *connection, long num_persistent, long num_connections);
	probe oci8__sesspool__create(void *session_pool);
	probe oci8__sesspool__stats(unsigned long free, unsigned long busy, unsigned long open);
	probe oci8__sesspool__type(int type, void *session_pool);
};