MySQL  8.0.26
Source Code Documentation
pfs_metadata_provider.h File Reference

Performance schema instrumentation (declarations). More...

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

Go to the source code of this file.

Macros

#define PSI_METADATA_CALL(M)   pfs_##M##_vc
 

Functions

PSI_metadata_lockpfs_create_metadata_lock_vc (void *identity, const MDL_key *key, opaque_mdl_type mdl_type, opaque_mdl_duration mdl_duration, opaque_mdl_status mdl_status, const char *src_file, uint src_line)
 
void pfs_set_metadata_lock_status_vc (PSI_metadata_lock *lock, opaque_mdl_status mdl_status)
 
void pfs_set_metadata_lock_duration_vc (PSI_metadata_lock *lock, opaque_mdl_duration mdl_duration)
 
void pfs_destroy_metadata_lock_vc (PSI_metadata_lock *lock)
 
struct PSI_metadata_lockerpfs_start_metadata_wait_vc (struct PSI_metadata_locker_state_v1 *state, struct PSI_metadata_lock *mdl, const char *src_file, uint src_line)
 
void pfs_end_metadata_wait_vc (struct PSI_metadata_locker *locker, int rc)
 

Detailed Description

Performance schema instrumentation (declarations).

Macro Definition Documentation

◆ PSI_METADATA_CALL

#define PSI_METADATA_CALL (   M)    pfs_##M##_vc

Function Documentation

◆ pfs_create_metadata_lock_vc()

PSI_metadata_lock* pfs_create_metadata_lock_vc ( void *  identity,
const MDL_key key,
opaque_mdl_type  mdl_type,
opaque_mdl_duration  mdl_duration,
opaque_mdl_status  mdl_status,
const char *  src_file,
uint  src_line 
)

◆ pfs_destroy_metadata_lock_vc()

void pfs_destroy_metadata_lock_vc ( PSI_metadata_lock lock)

◆ pfs_end_metadata_wait_vc()

void pfs_end_metadata_wait_vc ( struct PSI_metadata_locker locker,
int  rc 
)

◆ pfs_set_metadata_lock_duration_vc()

void pfs_set_metadata_lock_duration_vc ( PSI_metadata_lock lock,
opaque_mdl_duration  mdl_duration 
)

◆ pfs_set_metadata_lock_status_vc()

void pfs_set_metadata_lock_status_vc ( PSI_metadata_lock lock,
opaque_mdl_status  mdl_status 
)

◆ pfs_start_metadata_wait_vc()

struct PSI_metadata_locker* pfs_start_metadata_wait_vc ( struct PSI_metadata_locker_state_v1 state,
struct PSI_metadata_lock mdl,
const char *  src_file,
uint  src_line 
)