aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-03-21 23:11:24 +0100
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-03-21 23:26:34 +0100
commitdea6ed2c980286e89caf4166ad329f506abbff29 (patch)
tree5837a01e836f107b6c13b7e30c343e0667c4e33a /src/backend/utils
parent1494931d7375ccdc6afd34f135bc708f8954eecc (diff)
downloadpostgresql-dea6ed2c980286e89caf4166ad329f506abbff29.tar.gz
postgresql-dea6ed2c980286e89caf4166ad329f506abbff29.zip
Fix build with LWLOCK_STATS or dtrace.
Also fix the name of the dtrace probe for LWLockAcquireOrWait(). The function was renamed from LWLockWaitUntilFree to LWLockAqcuireOrWait, but the dtrace probe was neglected. Pointed out by Andres Freund and the buildfarm.
Diffstat (limited to 'src/backend/utils')
-rw-r--r--src/backend/utils/probes.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/probes.d b/src/backend/utils/probes.d
index 804ba6ae62a..fbfe53dc06f 100644
--- a/src/backend/utils/probes.d
+++ b/src/backend/utils/probes.d
@@ -34,8 +34,8 @@ provider postgresql {
probe lwlock__wait__done(const char *, int, LWLockMode);
probe lwlock__condacquire(const char *, int, LWLockMode);
probe lwlock__condacquire__fail(const char *, int, LWLockMode);
- probe lwlock__wait__until__free(const char *, int, LWLockMode);
- probe lwlock__wait__until__free__fail(const char *, int, LWLockMode);
+ probe lwlock__acquire__or__wait(const char *, int, LWLockMode);
+ probe lwlock__acquire__or__wait__fail(const char *, int, LWLockMode);
probe lock__wait__start(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, LOCKMODE);
probe lock__wait__done(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, LOCKMODE);