18 #define PG_WAIT_LWLOCK 0x01000000U
19 #define PG_WAIT_LOCK 0x03000000U
20 #define PG_WAIT_BUFFERPIN 0x04000000U
21 #define PG_WAIT_ACTIVITY 0x05000000U
22 #define PG_WAIT_CLIENT 0x06000000U
23 #define PG_WAIT_EXTENSION 0x07000000U
24 #define PG_WAIT_IPC 0x08000000U
25 #define PG_WAIT_TIMEOUT 0x09000000U
26 #define PG_WAIT_IO 0x0A000000U
27 #define PG_WAIT_INJECTIONPOINT 0x0B000000U
30 #include "utils/wait_event_types.h"
Size WaitEventCustomShmemSize(void)
const char * pgstat_get_wait_event(uint32 wait_event_info)
void pgstat_set_wait_event_storage(uint32 *wait_event_info)
char ** GetWaitEventCustomNames(uint32 classId, int *nwaitevents)
PGDLLIMPORT uint32 * my_wait_event_info
uint32 WaitEventInjectionPointNew(const char *wait_event_name)
const char * pgstat_get_wait_event_type(uint32 wait_event_info)
void pgstat_reset_wait_event_storage(void)
static void pgstat_report_wait_start(uint32 wait_event_info)
uint32 WaitEventExtensionNew(const char *wait_event_name)
void WaitEventCustomShmemInit(void)
static void pgstat_report_wait_end(void)