24#ifndef MYSQL_PSI_TABLE_H
25#define MYSQL_PSI_TABLE_H
50#define PSI_TABLE_VERSION_1 1
57#define PSI_CURRENT_TABLE_VERSION 1
73#ifdef HAVE_PSI_TABLE_INTERFACE
MYSQL_PLUGIN_IMPORT PSI_table_service_t * psi_table_service
Definition: psi_noop.cc:546
void(* end_table_io_wait_v1_t)(struct PSI_table_locker *locker, unsigned long long numrows)
Record a table instrumentation io wait end event.
Definition: psi_table_bits.h:201
void(* release_table_share_v1_t)(struct PSI_table_share *share)
Release a table share.
Definition: psi_table_bits.h:131
struct PSI_table_locker *(* start_table_lock_wait_v1_t)(struct PSI_table_locker_state *state, struct PSI_table *table, enum PSI_table_lock_operation op, unsigned long flags, const char *src_file, unsigned int src_line)
Record a table instrumentation lock wait start event.
Definition: psi_table_bits.h:213
void(* end_table_lock_wait_v1_t)(struct PSI_table_locker *locker)
Record a table instrumentation lock wait end event.
Definition: psi_table_bits.h:222
struct PSI_table *(* open_table_v1_t)(struct PSI_table_share *share, const void *identity)
Open an instrumentation table handle.
Definition: psi_table_bits.h:152
void(* unlock_table_v1_t)(struct PSI_table *table)
Record a table unlock event.
Definition: psi_table_bits.h:228
void(* close_table_v1_t)(struct TABLE_SHARE *server_share, struct PSI_table *table)
Close an instrumentation table handle.
Definition: psi_table_bits.h:179
void(* unbind_table_v1_t)(struct PSI_table *table)
Unbind a table handle from the current thread.
Definition: psi_table_bits.h:160
struct PSI_table_share *(* get_table_share_v1_t)(bool temporary, struct TABLE_SHARE *share)
Acquire a table share instrumentation.
Definition: psi_table_bits.h:124
void(* drop_table_share_v1_t)(bool temporary, const char *schema_name, int schema_name_length, const char *table_name, int table_name_length)
Drop a table share.
Definition: psi_table_bits.h:141
struct PSI_table_locker *(* start_table_io_wait_v1_t)(struct PSI_table_locker_state *state, struct PSI_table *table, enum PSI_table_io_operation op, unsigned int index, const char *src_file, unsigned int src_line)
Record a table instrumentation io wait start event.
Definition: psi_table_bits.h:191
PSI_table *(* rebind_table_v1_t)(PSI_table_share *share, const void *identity, PSI_table *table)
Rebind a table handle to the current thread.
Definition: psi_table_bits.h:170
Some integer typedefs for easier portability.
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
Functions related to handling of plugins and other dynamically loaded libraries.
#define MYSQL_PLUGIN_IMPORT
Definition: my_sharedlib.h:71
Performance schema instrumentation interface.
required uint64 version
Definition: replication_group_member_actions.proto:41
Entry point for the performance schema interface.
Definition: psi_table.h:60
Performance Schema Transaction Interface, version 1.
Definition: psi_table.h:79
start_table_io_wait_v1_t start_table_io_wait
Definition: psi_table.h:95
release_table_share_v1_t release_table_share
Definition: psi_table.h:83
rebind_table_v1_t rebind_table
Definition: psi_table.h:91
start_table_lock_wait_v1_t start_table_lock_wait
Definition: psi_table.h:99
end_table_io_wait_v1_t end_table_io_wait
Definition: psi_table.h:97
close_table_v1_t close_table
Definition: psi_table.h:93
get_table_share_v1_t get_table_share
Definition: psi_table.h:81
unlock_table_v1_t unlock_table
Definition: psi_table.h:103
drop_table_share_v1_t drop_table_share
Definition: psi_table.h:85
open_table_v1_t open_table
Definition: psi_table.h:87
unbind_table_v1_t unbind_table
Definition: psi_table.h:89
end_table_lock_wait_v1_t end_table_lock_wait
Definition: psi_table.h:101