mirror of
https://github.com/postgres/postgres.git
synced 2025-08-17 01:02:17 +03:00
DTrace support, with a small initial set of probes
by Robert Lor
This commit is contained in:
24
src/backend/utils/probes.d
Normal file
24
src/backend/utils/probes.d
Normal file
@@ -0,0 +1,24 @@
|
||||
/* ----------
|
||||
* DTrace probes for PostgreSQL backend
|
||||
*
|
||||
* Copyright (c) 2006, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/backend/utils/probes.d,v 1.1 2006/07/24 16:32:45 petere Exp $
|
||||
* ----------
|
||||
*/
|
||||
|
||||
provider postgresql {
|
||||
|
||||
probe transaction__start(int);
|
||||
probe transaction__commit(int);
|
||||
probe transaction__abort(int);
|
||||
probe lwlock__acquire(int, int);
|
||||
probe lwlock__release(int);
|
||||
probe lwlock__startwait(int, int);
|
||||
probe lwlock__endwait(int, int);
|
||||
probe lwlock__condacquire(int, int);
|
||||
probe lwlock__condacquire__fail(int, int);
|
||||
probe lock__startwait(int, int);
|
||||
probe lock__endwait(int, int);
|
||||
|
||||
};
|
Reference in New Issue
Block a user