24#ifndef PFS_MUTEX_PROVIDER_H
25#define PFS_MUTEX_PROVIDER_H
37#ifdef HAVE_PSI_MUTEX_INTERFACE
38#if defined(MYSQL_SERVER) || defined(PFS_DIRECT_CALL)
39#ifndef MYSQL_DYNAMIC_PLUGIN
40#ifndef WITH_LOCK_ORDER
46#define PSI_MUTEX_CALL(M) pfs_##M##_v1
58 const char *src_file, uint src_line);
PSI_mutex_operation
Operation performed on an instrumented mutex.
Definition: psi_mutex_bits.h:108
struct PSI_mutex_locker PSI_mutex_locker
Definition: psi_mutex_bits.h:105
unsigned int PSI_mutex_key
Instrumented mutex key.
Definition: psi_mutex_bits.h:52
Some integer typedefs for easier portability.
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
static int count
Definition: myisam_ftdump.cc:45
static const char * category
Definition: sha2_password.cc:170
void pfs_destroy_mutex_v1(PSI_mutex *mutex)
Implementation of the mutex instrumentation interface.
Definition: pfs.cc:2680
void pfs_end_mutex_wait_v1(PSI_mutex_locker *locker, int rc)
Implementation of the mutex instrumentation interface.
Definition: pfs.cc:5105
void pfs_register_mutex_v1(const char *category, PSI_mutex_info_v1 *info, int count)
Implementation of the mutex instrumentation interface.
Definition: pfs.cc:2445
PSI_mutex * pfs_init_mutex_v1(PSI_mutex_key key, const void *identity)
Implementation of the mutex instrumentation interface.
Definition: pfs.cc:2660
void pfs_unlock_mutex_v1(PSI_mutex *mutex)
Implementation of the mutex instrumentation interface.
Definition: pfs.cc:4813
PSI_mutex_locker * pfs_start_mutex_wait_v1(PSI_mutex_locker_state *state, PSI_mutex *mutex, PSI_mutex_operation op, const char *src_file, uint src_line)
Implementation of the mutex instrumentation interface.
Definition: pfs.cc:3775
Performance schema instrumentation interface.
required string key
Definition: replication_asynchronous_connection_failover.proto:60
Mutex information.
Definition: psi_mutex_bits.h:73
State data storage for start_mutex_wait_v1_t.
Definition: psi_mutex_bits.h:125
Interface for an instrumented mutex.
Definition: psi_mutex_bits.h:97