MySQL 8.0.39
Source Code Documentation
pfs_table_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_table.h"

Go to the source code of this file.

Macros

#define PSI_TABLE_CALL(M)   pfs_##M##_v1
 

Functions

PSI_table_sharepfs_get_table_share_v1 (bool temporary, struct TABLE_SHARE *share)
 Implementation of the table instrumentation interface. More...
 
void pfs_release_table_share_v1 (PSI_table_share *share)
 Implementation of the table instrumentation interface. More...
 
void pfs_drop_table_share_v1 (bool temporary, const char *schema_name, int schema_name_length, const char *table_name, int table_name_length)
 Implementation of the table instrumentation interface. More...
 
PSI_tablepfs_open_table_v1 (PSI_table_share *share, const void *identity)
 Implementation of the table instrumentation interface. More...
 
void pfs_unbind_table_v1 (PSI_table *table)
 Implementation of the table instrumentation interface. More...
 
PSI_tablepfs_rebind_table_v1 (PSI_table_share *share, const void *identity, PSI_table *table)
 Implementation of the table instrumentation interface. More...
 
void pfs_close_table_v1 (struct TABLE_SHARE *server_share, PSI_table *table)
 Implementation of the table instrumentation interface. More...
 
PSI_table_lockerpfs_start_table_io_wait_v1 (PSI_table_locker_state *state, PSI_table *table, PSI_table_io_operation op, uint index, const char *src_file, uint src_line)
 Implementation of the table instrumentation interface. More...
 
PSI_table_lockerpfs_start_table_lock_wait_v1 (PSI_table_locker_state *state, PSI_table *table, PSI_table_lock_operation op, ulong op_flags, const char *src_file, uint src_line)
 Implementation of the table instrumentation interface. More...
 
void pfs_end_table_io_wait_v1 (PSI_table_locker *locker, ulonglong numrows)
 Implementation of the table instrumentation interface. More...
 
void pfs_end_table_lock_wait_v1 (PSI_table_locker *locker)
 Implementation of the table instrumentation interface. More...
 
void pfs_unlock_table_v1 (PSI_table *table)
 

Detailed Description

Performance schema instrumentation (declarations).

Macro Definition Documentation

◆ PSI_TABLE_CALL

#define PSI_TABLE_CALL (   M)    pfs_##M##_v1

Function Documentation

◆ pfs_close_table_v1()

void pfs_close_table_v1 ( TABLE_SHARE server_share,
PSI_table table 
)

Implementation of the table instrumentation interface.

See also
PSI_v1::close_table.

◆ pfs_drop_table_share_v1()

void pfs_drop_table_share_v1 ( bool  temporary,
const char *  schema_name,
int  schema_name_length,
const char *  table_name,
int  table_name_length 
)

Implementation of the table instrumentation interface.

See also
PSI_v1::drop_table_share.

◆ pfs_end_table_io_wait_v1()

void pfs_end_table_io_wait_v1 ( PSI_table_locker locker,
ulonglong  numrows 
)

Implementation of the table instrumentation interface.

See also
PSI_v1::end_table_io_wait.

◆ pfs_end_table_lock_wait_v1()

void pfs_end_table_lock_wait_v1 ( PSI_table_locker locker)

Implementation of the table instrumentation interface.

See also
PSI_v1::end_table_lock_wait.

◆ pfs_get_table_share_v1()

PSI_table_share * pfs_get_table_share_v1 ( bool  temporary,
TABLE_SHARE share 
)

Implementation of the table instrumentation interface.

See also
PSI_v1::get_table_share.

◆ pfs_open_table_v1()

PSI_table * pfs_open_table_v1 ( PSI_table_share share,
const void *  identity 
)

Implementation of the table instrumentation interface.

See also
PSI_v1::open_table.

◆ pfs_rebind_table_v1()

PSI_table * pfs_rebind_table_v1 ( PSI_table_share share,
const void *  identity,
PSI_table table 
)

Implementation of the table instrumentation interface.

See also
PSI_v1::rebind_table.

◆ pfs_release_table_share_v1()

void pfs_release_table_share_v1 ( PSI_table_share share)

Implementation of the table instrumentation interface.

See also
PSI_v1::release_table_share.

◆ pfs_start_table_io_wait_v1()

PSI_table_locker * pfs_start_table_io_wait_v1 ( PSI_table_locker_state state,
PSI_table table,
PSI_table_io_operation  op,
uint  index,
const char *  src_file,
uint  src_line 
)

Implementation of the table instrumentation interface.

See also
PSI_v1::start_table_io_wait_v1

◆ pfs_start_table_lock_wait_v1()

PSI_table_locker * pfs_start_table_lock_wait_v1 ( PSI_table_locker_state state,
PSI_table table,
PSI_table_lock_operation  op,
ulong  op_flags,
const char *  src_file,
uint  src_line 
)

Implementation of the table instrumentation interface.

See also
PSI_v1::start_table_lock_wait.

◆ pfs_unbind_table_v1()

void pfs_unbind_table_v1 ( PSI_table table)

Implementation of the table instrumentation interface.

See also
PSI_v1::unbind_table.

◆ pfs_unlock_table_v1()

void pfs_unlock_table_v1 ( PSI_table table)