| /* ---------- |
| * 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); |
| |
| probe memctxt__alloc(int, int, int, int, int); |
| probe memctxt__free(int, int, int, int, int); |
| probe memctxt__realloc(int, int, int, int, int); |
| |
| probe execprocnode__enter(int, int, int, int, int); |
| probe execprocnode__exit(int, int, int, int, int); |
| |
| probe tuplesort__begin(int, int, int); |
| probe tuplesort__end(int, int); |
| probe tuplesort__perform__sort(); |
| probe tuplesort__mergeonerun(int); |
| probe tuplesort__dumptuples(int, int, int); |
| probe tuplesort__switch__external(int); |
| |
| probe backoff__localcheck(int); |
| probe backoff__globalcheck(); |
| }; |