23#ifndef MYSQL_PSI_RWLOCK_H
24#define MYSQL_PSI_RWLOCK_H
65#ifdef HAVE_PSI_RWLOCK_INTERFACE
struct PSI_rwlock_locker *(* start_rwlock_wrwait_v1_t)(struct PSI_rwlock_locker_state_v1 *state, struct PSI_rwlock *rwlock, enum PSI_rwlock_operation op, const char *src_file, unsigned int src_line)
Record a rwlock instrumentation write wait start event.
Definition: psi_rwlock_bits.h:266
void(* end_rwlock_rdwait_v1_t)(struct PSI_rwlock_locker *locker, int rc)
Record a rwlock instrumentation read wait end event.
Definition: psi_rwlock_bits.h:254
struct PSI_rwlock_locker *(* start_rwlock_rdwait_v1_t)(struct PSI_rwlock_locker_state_v1 *state, struct PSI_rwlock *rwlock, enum PSI_rwlock_operation op, const char *src_file, unsigned int src_line)
Record a rwlock instrumentation read wait start event.
Definition: psi_rwlock_bits.h:245
void(* destroy_rwlock_v1_t)(struct PSI_rwlock *rwlock)
Rwlock instrumentation destruction API.
Definition: psi_rwlock_bits.h:234
struct PSI_rwlock *(* init_rwlock_v1_t)(PSI_rwlock_key key, const void *identity)
Rwlock instrumentation initialization API.
Definition: psi_rwlock_bits.h:227
void(* end_rwlock_wrwait_v1_t)(struct PSI_rwlock_locker *locker, int rc)
Record a rwlock instrumentation write wait end event.
Definition: psi_rwlock_bits.h:275
void(* register_rwlock_v1_t)(const char *category, struct PSI_rwlock_info_v1 *info, int count)
Rwlock registration API.
Definition: psi_rwlock_bits.h:217
void(* unlock_rwlock_v2_t)(struct PSI_rwlock *rwlock, enum PSI_rwlock_operation op)
Record a rwlock instrumentation unlock event.
Definition: psi_rwlock_bits.h:289
MYSQL_PLUGIN_IMPORT PSI_rwlock_service_t * psi_rwlock_service
Definition: psi_noop.cc:320
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
Performance schema instrumentation interface.
required uint64 version
Definition: replication_group_member_actions.proto:40
Entry point for the performance schema interface.
Definition: psi_rwlock.h:52
Performance Schema Rwlock Interface, version 2.
Definition: psi_rwlock.h:71
register_rwlock_v1_t register_rwlock
Definition: psi_rwlock.h:73
end_rwlock_rdwait_v1_t end_rwlock_rdwait
Definition: psi_rwlock.h:81
start_rwlock_rdwait_v1_t start_rwlock_rdwait
Definition: psi_rwlock.h:79
end_rwlock_wrwait_v1_t end_rwlock_wrwait
Definition: psi_rwlock.h:85
start_rwlock_wrwait_v1_t start_rwlock_wrwait
Definition: psi_rwlock.h:83
destroy_rwlock_v1_t destroy_rwlock
Definition: psi_rwlock.h:77
unlock_rwlock_v2_t unlock_rwlock
Definition: psi_rwlock.h:87
init_rwlock_v1_t init_rwlock
Definition: psi_rwlock.h:75