MySQL  8.0.21
Source Code Documentation
pfs_rwlock_provider.h File Reference

Performance schema instrumentation (declarations). More...

#include <sys/types.h>
#include "my_psi_config.h"
#include "my_inttypes.h"
#include "my_macros.h"
#include "mysql/psi/psi_rwlock.h"

Go to the source code of this file.

Macros

#define PSI_RWLOCK_CALL(M)   pfs_##M##_v2
 

Functions

void pfs_register_rwlock_v2 (const char *category, PSI_rwlock_info_v1 *info, int count)
 Implementation of the rwlock instrumentation interface. More...
 
PSI_rwlockpfs_init_rwlock_v2 (PSI_rwlock_key key, const void *identity)
 Implementation of the rwlock instrumentation interface. More...
 
void pfs_destroy_rwlock_v2 (PSI_rwlock *rwlock)
 Implementation of the rwlock instrumentation interface. More...
 
PSI_rwlock_lockerpfs_start_rwlock_rdwait_v2 (PSI_rwlock_locker_state *state, PSI_rwlock *rwlock, PSI_rwlock_operation op, const char *src_file, uint src_line)
 
PSI_rwlock_lockerpfs_start_rwlock_wrwait_v2 (PSI_rwlock_locker_state *state, PSI_rwlock *rwlock, PSI_rwlock_operation op, const char *src_file, uint src_line)
 
void pfs_unlock_rwlock_v2 (PSI_rwlock *rwlock, PSI_rwlock_operation op)
 Implementation of the rwlock instrumentation interface. More...
 
void pfs_end_rwlock_rdwait_v2 (PSI_rwlock_locker *locker, int rc)
 Implementation of the rwlock instrumentation interface. More...
 
void pfs_end_rwlock_wrwait_v2 (PSI_rwlock_locker *locker, int rc)
 Implementation of the rwlock instrumentation interface. More...
 

Detailed Description

Performance schema instrumentation (declarations).

Macro Definition Documentation

◆ PSI_RWLOCK_CALL

#define PSI_RWLOCK_CALL (   M)    pfs_##M##_v2

Function Documentation

◆ pfs_destroy_rwlock_v2()

void pfs_destroy_rwlock_v2 ( PSI_rwlock rwlock)

Implementation of the rwlock instrumentation interface.

See also
PSI_v2::destroy_rwlock.

◆ pfs_end_rwlock_rdwait_v2()

void pfs_end_rwlock_rdwait_v2 ( PSI_rwlock_locker locker,
int  rc 
)

Implementation of the rwlock instrumentation interface.

See also
PSI_v2::end_rwlock_rdwait.

◆ pfs_end_rwlock_wrwait_v2()

void pfs_end_rwlock_wrwait_v2 ( PSI_rwlock_locker locker,
int  rc 
)

Implementation of the rwlock instrumentation interface.

See also
PSI_v2::end_rwlock_wrwait.

◆ pfs_init_rwlock_v2()

PSI_rwlock* pfs_init_rwlock_v2 ( PSI_rwlock_key  key,
const void *  identity 
)

Implementation of the rwlock instrumentation interface.

See also
PSI_v2::init_rwlock.

◆ pfs_register_rwlock_v2()

void pfs_register_rwlock_v2 ( const char *  category,
PSI_rwlock_info_v1 info,
int  count 
)

Implementation of the rwlock instrumentation interface.

See also
PSI_v2::register_rwlock.

◆ pfs_start_rwlock_rdwait_v2()

PSI_rwlock_locker* pfs_start_rwlock_rdwait_v2 ( PSI_rwlock_locker_state state,
PSI_rwlock rwlock,
PSI_rwlock_operation  op,
const char *  src_file,
uint  src_line 
)

◆ pfs_start_rwlock_wrwait_v2()

PSI_rwlock_locker* pfs_start_rwlock_wrwait_v2 ( PSI_rwlock_locker_state state,
PSI_rwlock rwlock,
PSI_rwlock_operation  op,
const char *  src_file,
uint  src_line 
)

◆ pfs_unlock_rwlock_v2()

void pfs_unlock_rwlock_v2 ( PSI_rwlock rwlock,
PSI_rwlock_operation  op 
)

Implementation of the rwlock instrumentation interface.

See also
PSI_v1::unlock_rwlock.