24#ifndef COMPONENTS_SERVICES_MYSQL_RWLOCK_SERVICE_H
25#define COMPONENTS_SERVICES_MYSQL_RWLOCK_SERVICE_H
35 const char *src_file,
unsigned int src_line);
38 const char *src_file,
unsigned int src_line);
42 unsigned int src_line);
46 unsigned int src_line);
49 unsigned int src_line);
52 unsigned int src_line);
55 unsigned int src_line);
58 unsigned int src_line);
62 unsigned int src_line);
68 unsigned int src_line);
73 unsigned int src_line);
76 unsigned int src_line);
94#define REQUIRES_MYSQL_RWLOCK_SERVICE REQUIRES_SERVICE(mysql_rwlock_v1)
unsigned int PSI_rwlock_key
Instrumented rwlock key.
Definition: psi_rwlock_bits.h:44
static int count
Definition: myisam_ftdump.cc:45
Instrumentation helpers for rwlock.
int(* mysql_prlock_wrlock_t)(mysql_prlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:57
int(* mysql_rwlock_unlock_t)(mysql_rwlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:72
void(* mysql_rwlock_register_t)(const char *category, PSI_rwlock_info *info, int count)
Definition: mysql_rwlock_service.h:31
int(* mysql_prlock_destroy_t)(mysql_prlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:44
int(* mysql_rwlock_rdlock_t)(mysql_rwlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:48
int(* mysql_rwlock_init_t)(PSI_rwlock_key key, mysql_rwlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:34
int(* mysql_prlock_unlock_t)(mysql_prlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:75
int(* mysql_rwlock_tryrdlock_t)(mysql_rwlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:60
int(* mysql_prlock_rdlock_t)(mysql_prlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:51
int(* mysql_rwlock_trywrlock_t)(mysql_rwlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:66
int(* mysql_rwlock_wrlock_t)(mysql_rwlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:54
int(* mysql_rwlock_destroy_t)(mysql_rwlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:40
int(* mysql_prlock_init_t)(PSI_rwlock_key key, mysql_prlock_t *that, const char *src_file, unsigned int src_line)
Definition: mysql_rwlock_service.h:37
static const char * category
Definition: sha2_password.cc:170
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:60
#define END_SERVICE_DEFINITION(name)
A macro to end the last Service definition started with the BEGIN_SERVICE_DEFINITION macro.
Definition: service.h:91
#define BEGIN_SERVICE_DEFINITION(name)
Declares a new Service.
Definition: service.h:86
Rwlock information.
Definition: psi_rwlock_bits.h:162
An instrumented prlock structure.
Definition: mysql_rwlock_bits.h:72
An instrumented rwlock structure.
Definition: mysql_rwlock_bits.h:51