mirror of
https://github.com/postgres/postgres.git
synced 2025-08-17 01:02:17 +03:00
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.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user