23#ifndef MYSQL_PSI_MUTEX_H
24#define MYSQL_PSI_MUTEX_H
57#ifdef HAVE_PSI_MUTEX_INTERFACE
struct PSI_mutex *(* init_mutex_v1_t)(PSI_mutex_key key, const void *identity)
Mutex instrumentation initialization API.
Definition: psi_mutex_bits.h:157
void(* end_mutex_wait_v1_t)(struct PSI_mutex_locker *locker, int rc)
Record a mutex instrumentation wait end event.
Definition: psi_mutex_bits.h:190
MYSQL_PLUGIN_IMPORT PSI_mutex_service_t * psi_mutex_service
Definition: psi_noop.cc:276
void(* destroy_mutex_v1_t)(struct PSI_mutex *mutex)
Mutex instrumentation destruction API.
Definition: psi_mutex_bits.h:164
void(* register_mutex_v1_t)(const char *category, struct PSI_mutex_info_v1 *info, int count)
Mutex registration API.
Definition: psi_mutex_bits.h:148
void(* unlock_mutex_v1_t)(struct PSI_mutex *mutex)
Record a mutex instrumentation unlock event.
Definition: psi_mutex_bits.h:170
struct PSI_mutex_locker *(* start_mutex_wait_v1_t)(struct PSI_mutex_locker_state_v1 *state, struct PSI_mutex *mutex, enum PSI_mutex_operation op, const char *src_file, unsigned int src_line)
Record a mutex instrumentation wait start event.
Definition: psi_mutex_bits.h:181
Some integer typedefs for easier portability.
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
Functions related to handling of plugins and other dynamically loaded libraries.
#define MYSQL_PLUGIN_IMPORT
Definition: my_sharedlib.h:70
Instrumentation helpers for mutexes.
required uint64 version
Definition: replication_group_member_actions.proto:40
Entry point for the performance schema interface.
Definition: psi_mutex.h:45
Performance Schema Mutex Interface, version 1.
Definition: psi_mutex.h:63
init_mutex_v1_t init_mutex
Definition: psi_mutex.h:67
register_mutex_v1_t register_mutex
Definition: psi_mutex.h:65
unlock_mutex_v1_t unlock_mutex
Definition: psi_mutex.h:75
end_mutex_wait_v1_t end_mutex_wait
Definition: psi_mutex.h:73
start_mutex_wait_v1_t start_mutex_wait
Definition: psi_mutex.h:71
destroy_mutex_v1_t destroy_mutex
Definition: psi_mutex.h:69