MySQL 8.3.0
Source Code Documentation
pfs_mutex_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_mutex.h"

Go to the source code of this file.

Macros

#define PSI_MUTEX_CALL(M)   pfs_##M##_v1
 

Functions

void pfs_register_mutex_v1 (const char *category, PSI_mutex_info_v1 *info, int count)
 Implementation of the mutex instrumentation interface. More...
 
PSI_mutexpfs_init_mutex_v1 (PSI_mutex_key key, const void *identity)
 Implementation of the mutex instrumentation interface. More...
 
void pfs_destroy_mutex_v1 (PSI_mutex *mutex)
 Implementation of the mutex instrumentation interface. More...
 
PSI_mutex_lockerpfs_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. More...
 
void pfs_unlock_mutex_v1 (PSI_mutex *mutex)
 Implementation of the mutex instrumentation interface. More...
 
void pfs_end_mutex_wait_v1 (PSI_mutex_locker *locker, int rc)
 Implementation of the mutex instrumentation interface. More...
 

Detailed Description

Performance schema instrumentation (declarations).

Macro Definition Documentation

◆ PSI_MUTEX_CALL

#define PSI_MUTEX_CALL (   M)    pfs_##M##_v1

Function Documentation

◆ pfs_destroy_mutex_v1()

void pfs_destroy_mutex_v1 ( PSI_mutex mutex)

Implementation of the mutex instrumentation interface.

See also
PSI_v1::destroy_mutex.

◆ pfs_end_mutex_wait_v1()

void pfs_end_mutex_wait_v1 ( PSI_mutex_locker locker,
int  rc 
)

Implementation of the mutex instrumentation interface.

See also
PSI_v1::end_mutex_wait.

◆ pfs_init_mutex_v1()

PSI_mutex * pfs_init_mutex_v1 ( PSI_mutex_key  key,
const void *  identity 
)

Implementation of the mutex instrumentation interface.

See also
PSI_v1::init_mutex.

◆ pfs_register_mutex_v1()

void pfs_register_mutex_v1 ( const char *  category,
PSI_mutex_info_v1 info,
int  count 
)

Implementation of the mutex instrumentation interface.

See also
PSI_v1::register_mutex.

◆ pfs_start_mutex_wait_v1()

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.

See also
PSI_v1::start_mutex_wait.

◆ pfs_unlock_mutex_v1()

void pfs_unlock_mutex_v1 ( PSI_mutex mutex)

Implementation of the mutex instrumentation interface.

See also
PSI_v1::unlock_mutex.